Submission #00042
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:8:5: error: ‘scanf’ was not declared in this scope
scanf("%d %d" , &a , &b);
^~~~~
./Main.cpp:8:5: note: suggested alternative: ‘wscanf’
scanf("%d %d" , &a , &b);
^~~~~
wscanf
./Main.cpp:9:5: error: ‘printf’ was not declared in this scope
printf("%d\n%d\n%d\n%d\n%d\n" , a + b , a - b , a * b , a / b , a % b);
^~~~~~
./Main.cpp:9:5: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
./Main.cpp:5:1:
+#include <cstdio>
using namespace std;
./Main.cpp:9:5:
printf("%d\n%d\n%d\n%d\n%d\n" , a + b , a - b , a * b , a / b , a % b);
^~~~~~
セット
テストケース