0_0_34709737_601.cpp:10:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_34709737_601.cpp: In function 'int main()':
0_0_34709737_601.cpp:12:5: error: redefinition of 'int main()'
int main() {
^
0_0_34709737_601.cpp:2:5: note: 'int main()' previously defined here
int main()
^
0_0_34709737_601.cpp:14:7: error: 'cin' was not declared in this scope
while(cin >> a >> b) {
^
0_0_34709737_601.cpp:15:1: error: 'cout' was not declared in this scope
cout << a + b << endl;
^
0_0_34709737_601.cpp:15:18: error: 'endl' was not declared in this scope
cout << a + b << endl;
^
0_0_34709737_601.cpp: At global scope:
0_0_34709737_601.cpp:20:7: error: expected nested-name-specifier before 'System'
using System;
^
0_0_34709737_601.cpp:21:7: error: expected nested-name-specifier before 'System'
using System.Collections.Generic;
^
0_0_34709737_601.cpp:22:7: error: expected nested-name-specifier before 'System'
using System.Linq;
^
0_0_34709737_601.cpp:23:7: error: expected nested-name-specifier before 'System'
using System.Text;
^
0_0_34709737_601.cpp:24:7: error: expected nested-name-specifier before 'System'
using System.Threading.Tasks;
^
0_0_34709737_601.cpp:29:18: error: 'string' has not been declared
static void Main(string[] args)
^
0_0_34709737_601.cpp:29:27: error: expected ',' or '...' before 'args'
static void Main(string[] args)
^
0_0_34709737_601.cpp:41:1: error: expected ';' after class definition
}
^
0_0_34709737_601.cpp: In static member function 'static void csharp::Program::Main(int*)':
0_0_34709737_601.cpp:31:1: error: 'string' was not declared in this scope
string s;
^
0_0_34709737_601.cpp:33:9: error: 's' was not declared in this scope
while ((s = Console.ReadLine())!=null)
^
0_0_34709737_601.cpp:33:13: error: 'Console' was not declared in this scope
while ((s = Console.ReadLine())!=null)
^
0_0_34709737_601.cpp:33:34: error: 'null' was not declared in this scope
while ((s = Console.ReadLine())!=null)
^
0_0_34709737_601.cpp:35:8: error: expected primary-expression before ']' token
string[] str = s.Split(' ');
^
0_0_34709737_601.cpp:36:5: error: 'Convert' was not declared in this scope
a = Convert.ToInt32(str[0]);
^
0_0_34709737_601.cpp:36:21: error: 'str' was not declared in this scope
a = Convert.ToInt32(str[0]);
^
0_0_34709737_601.cpp: At global scope:
0_0_34709737_601.cpp:44:1: error: 'import' does not name a type
import java.util.Scanner;
^
0_0_34709737_601.cpp:45:1: error: expected unqualified-id before 'public'
public class Main {
^
|