Submission #00064
ソースコード
ステータス
コンパイルメッセージ
./Main.cpp: In function ‘int main()’:
./Main.cpp:41:5: error: ‘scanf’ was not declared in this scope
scanf("%lld %lld %lld", &n, &m, &x);
^~~~~
./Main.cpp:41:5: note: suggested alternative: ‘wscanf’
scanf("%lld %lld %lld", &n, &m, &x);
^~~~~
wscanf
./Main.cpp:107:5: error: ‘printf’ was not declared in this scope
printf("%lld\n", ans);
^~~~~~
./Main.cpp:107:5: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’?
./Main.cpp:6:1:
+#include <cstdio>
#define Fi first
./Main.cpp:107:5:
printf("%lld\n", ans);
^~~~~~
セット
テストケース