Language: Java

importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}
^
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}
                  ^
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}
                                  ^
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}
                                                                                                              ^
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}
                                                                                                                                ^
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}
                                                                                                                                                  ^
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){minus=true;b=readByte();}if(b<'0'||'9'<b){thrownewNumberFormatException();}while(true){if('0'<=b&&b<='9'){n*=10;n+=b-'0';}elseif(b==-1||!isPrintableChar(b)){returnminus?-n:n;}else{thrownewNumberFormatException();}b=readByte();}}}
                                                                                                                                                                                            ^
Main.java:1: error: class, interface, enum, or record expected
importjava.util.*;importjava.io.*;classMain{publicstaticvoidmain(String[]args){FastScannersc=newFastScanner();intx=sc.nextInt();intt=sc.nextInt();PrintWriterout=newPrintWriter(System.out);out.println(Math.max(x-t,0));out.flush();}}classFastScanner{privatefinalInputStreamin=System.in;privatefinalbyte[]buffer=newbyte[1024];privateintptr=0;privateintbuflen=0;privatebooleanhasNextByte(){if(ptr<buflen){returntrue;}else{ptr=0;try{buflen=in.read(buffer);}catch(IOExceptione){e.printStackTrace();}if(buflen<=0){returnfalse;}}returntrue;}privateintreadByte(){if(hasNextByte())returnbuffer[ptr++];elsereturn-1;}privatestaticbooleanisPrintableChar(intc){return33<=c&&c<=126;}privatevoidskipUnprintable(){while(hasNextByte()&&!isPrintableChar(buffer[ptr]))ptr++;}publicbooleanhasNext(){skipUnprintable();returnhasNextByte();}publicintnextInt(){if(!hasNext())thrownewNoSuchElementException();intn=0;booleanminus=false;intb=readByte();if(b=='-'){m