結果

問題 No.83 最大マッチング
ユーザー testestesttestestest
提出日時 2015-08-15 23:27:29
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 66 bytes
コンパイル時間 232 ms
コンパイル使用メモリ 22,740 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-25 12:11:11
合計ジャッジ時間 1,023 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,376 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 AC 1 ms
4,380 KB
testcase_03 AC 1 ms
4,380 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
 main(a){for(scanf("%d",&a),putchar(49+a%2*6),a/=2;--a;puts("1"));}
 ^~~~
main.c: In function ‘main’:
main.c:1:1: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:13: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration]
 main(a){for(scanf("%d",&a),putchar(49+a%2*6),a/=2;--a;puts("1"));}
             ^~~~~
main.c:1:13: warning: incompatible implicit declaration of built-in function ‘scanf’
main.c:1:13: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+#include <stdio.h>
 main(a){for(scanf("%d",&a),putchar(49+a%2*6),a/=2;--a;puts("1"));}
             ^~~~~
main.c:1:28: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 main(a){for(scanf("%d",&a),putchar(49+a%2*6),a/=2;--a;puts("1"));}
                            ^~~~~~~
main.c:1:55: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 main(a){for(scanf("%d",&a),putchar(49+a%2*6),a/=2;--a;puts("1"));}
                                                       ^~~~

ソースコード

diff #

main(a){for(scanf("%d",&a),putchar(49+a%2*6),a/=2;--a;puts("1"));}
0