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