Submission #54739


ソースコード

ステータス

項目 データ
問題 1130 - 奇数和と偶数和
ユーザー名 ei1940
投稿日時 2019-09-12 18:41:08
言語 C++11
状態 Compile Error
得点 0
ソースコード長 265 Byte
最大実行時間 -
最大メモリ使用量

コンパイルメッセージ

./Main.cpp: In function ‘int main()’:
./Main.cpp:4:3: error: ‘cin’ was not declared in this scope
   cin.tie(0);
   ^~~
./Main.cpp:4:3: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
./Main.cpp:1:1:
+#include <iostream>
 using namespace std;
./Main.cpp:4:3:
   cin.tie(0);
   ^~~
./Main.cpp:5:3: error: ‘ios’ has not been declared
   ios::cync_with_stdio(false);
   ^~~
./Main.cpp:13:3: error: ‘cout’ was not declared in this scope
   cout<<ans<<' '<<cnt<<'\n';
   ^~~~
./Main.cpp:13:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?

セット

セット 得点 Cases

テストケース

ファイル名 状態 実行時間 メモリ使用量 #