Submission #1678125


Source Code Expand

int main()
{
	int a;
	int b;
	cin >> a >>  b;
	if (a > b) {
		cout << a<<endl;
	}
	else
		cout << b<<endl;
		return 0;
}

Submission Info

Submission Time
Task A - 正直者
User nos_KMC
Language C++14 (GCC 5.4.1)
Score 0
Code Size 131 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:5:2: error: ‘cin’ was not declared in this scope
  cin >> a >>  b;
  ^
./Main.cpp:7:3: error: ‘cout’ was not declared in this scope
   cout << a<<endl;
   ^
./Main.cpp:7:14: error: ‘endl’ was not declared in this scope
   cout << a<<endl;
              ^
./Main.cpp:10:3: error: ‘cout’ was not declared in this scope
   cout << b<<endl;
   ^
./Main.cpp:10:14: error: ‘endl’ was not declared in this scope
   cout << b<<endl;
              ^