Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
2077 2021-10-07 18:21:20 Mainul_Hasan05 A Plus B Java 1013 ms 75620 kb Time Limit Exceeded - 1
Test Cases
CPU Memory Verdict
1 1013 ms 75620 kb Time Limit Exceeded
2 - - Skipped
3 - - Skipped
4 - - Skipped
5 - - Skipped
6 - - Skipped
Source Code
program.java
Download
  1. import java.io.BufferedReader;
  2. import java.io.IOException;
  3. import java.io.InputStreamReader;
  4. import java.util.StringTokenizer;
  5.  
  6. public class Main {
  7. static class FastReader {
  8.  
  9. public FastReader()
  10. {
  11. br = new BufferedReader(
  12. }
  13.  
  14. String next()
  15. {
  16. while (st == null || !st.hasMoreElements()) {
  17. try {
  18. st = new StringTokenizer(br.readLine());
  19. }
  20. catch (IOException e) {
  21. e.printStackTrace();
  22. }
  23. }
  24. return st.nextToken();
  25. }
  26.  
  27. int nextInt() { return Integer.parseInt(next()); }
  28.  
  29. long nextLong() { return Long.parseLong(next()); }
  30.  
  31. double nextDouble()
  32. {
  33. return Double.parseDouble(next());
  34. }
  35.  
  36. String nextLine()
  37. {
  38. String str = "";
  39. try {
  40. str = br.readLine();
  41. }
  42. catch (IOException e) {
  43. e.printStackTrace();
  44. }
  45. return str;
  46. }
  47. }
  48.  
  49. public static void main(String[] args)
  50. {
  51. FastReader in = new FastReader();
  52. int a=in.nextInt();
  53. int b=in.nextInt();
  54. int ans=a+b;
  55. }
  56. }
  57.