This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
public class Schedule { | |
public static void main(String args[]) throws IOException{ | |
BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); | |
StringTokenizer st=new StringTokenizer(br.readLine()); | |
boolean m[]=new boolean[1441];m[1440]=false; | |
int n=Integer.parseInt(st.nextToken());int meeting_time=Integer.parseInt(st.nextToken()),shh,smm,ehh,emm,ashh=0,asmm=0,aehh=0,aemm=0; | |
while(n--!=0){ | |
st=new StringTokenizer(br.readLine()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Go to your sublime home directory, then Packages/SublimeREPL/config/ | |
2. Open 'Ruby' directory in config, make the changes in this PR to pry_repl.rb | |
https://github.com/wuub/SublimeREPL/pull/372/files | |
3. Run 'which ruby' in your terminal, and copy the path it returns. | |
eg. /Users/sudhagarsachin/.rbenv/shims/ruby | |
4. In Main.sublime-menu, line 33, the "osx" to this JSON. | |
"osx": [ | |
"/Users/sudhagarsachin/.rbenv/shims/ruby", // replace this with your path | |
"${packages}/SublimeREPL/config/Ruby/pry_repl.rb", | |
"$editor" |
OlderNewer