結果

問題 No.830 日本人の9割は90%
ユーザー ganmodokixganmodokix
提出日時 2019-10-11 10:08:49
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 34 bytes
コンパイル時間 562 ms
コンパイル使用メモリ 26,112 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-05-03 06:14:06
合計ジャッジ時間 731 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
5,248 KB
testcase_01 WA -
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 1 ms
5,376 KB
testcase_04 AC 0 ms
5,376 KB
testcase_05 AC 1 ms
5,376 KB
testcase_06 AC 1 ms
5,376 KB
testcase_07 AC 0 ms
5,376 KB
testcase_08 AC 1 ms
5,376 KB
testcase_09 AC 1 ms
5,376 KB
testcase_10 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
    1 | main(i){printf("%c0",getchar(i));}
      | ^~~~
main.c: In function 'main':
main.c:1:1: warning: type of 'i' defaults to 'int' [-Wimplicit-int]
main.c:1:9: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    1 | main(i){printf("%c0",getchar(i));}
      |         ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | main(i){printf("%c0",getchar(i));}
main.c:1:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    1 | main(i){printf("%c0",getchar(i));}
      |         ^~~~~~
main.c:1:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:22: warning: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
    1 | main(i){printf("%c0",getchar(i));}
      |                      ^~~~~~~
main.c:1:22: note: 'getchar' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?

ソースコード

diff #

main(i){printf("%c0",getchar(i));}
0