AtCoder Beginner Contest 002

Submission #1678125

Source codeソースコード

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

Submission

Task問題 A - 正直者
User nameユーザ名 nos_KMC
Created time投稿日時
Language言語 C++14 (GCC 5.4.1)
Status状態 CE
Score得点 -
Source lengthソースコード長 131 Byte
File nameファイル名
Exec time実行時間 -
Memory usageメモリ使用量 -

Compiler messageコンパイルメッセージ

./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;
^

Test case