Loading...
Submission
Id When Author Problem Language CPU Memory Verdict
17870 2024-04-24 03:11:38 dnt A Plus B Java 74 ms 37604 kb Runtime Error - 1
Test Cases
CPU Memory Verdict
1 74 ms 37604 kb Runtime Error
2 - - Skipped
3 - - Skipped
4 - - Skipped
5 - - Skipped
6 - - Skipped
Source Code
program.java
Download
  1.  
  2. package competitiveexam;
  3.  
  4. import java.util.Scanner;
  5.  
  6.  
  7. public class CompetitiveExam {
  8.  
  9.  
  10. public static void main(String[] args) {
  11. // TODO code application logic here
  12. Scanner sc = new Scanner(System.in);
  13. String line=sc.nextLine();
  14. String []token= line.split(" ");
  15. int a = Integer.parseInt(token[0]);
  16. int b = Integer.parseInt(token[1]);
  17. System.out.println(a+b);
  18.  
  19. }
  20.  
  21. }
  22.