Run id: 99618

Main.cc: In function 'int main()':
Main.cc:12:6: error: redefinition of 'int main()'
 int  main()
      ^
Main.cc:2:5: note: 'int main()' previously defined here
 int main()
     ^
Main.cc: At global scope:
Main.cc:20:1: error: 'import' does not name a type
 import java.util.Scanner;
 ^
Main.cc:22:1: error: expected unqualified-id before 'public'
 public class Main {
 ^
Main.cc: In function 'int main()':
Main.cc:5:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d", &a, &b);
                           ^