結果

問題 No.441 和か積
ユーザー testestesttestestest
提出日時 2016-12-03 05:33:22
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 97 bytes
コンパイル時間 1,216 ms
コンパイル使用メモリ 22,980 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-08-18 12:45:30
合計ジャッジ時間 1,907 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 0 ms
4,376 KB
testcase_02 AC 0 ms
4,376 KB
testcase_03 AC 0 ms
4,376 KB
testcase_04 AC 1 ms
4,376 KB
testcase_05 AC 1 ms
4,380 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 0 ms
4,376 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 1 ms
4,376 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 1 ms
4,380 KB
testcase_21 AC 1 ms
4,376 KB
testcase_22 WA -
testcase_23 AC 1 ms
4,376 KB
testcase_24 AC 1 ms
4,380 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 1 ms
4,376 KB
testcase_28 WA -
testcase_29 AC 1 ms
4,380 KB
testcase_30 AC 1 ms
4,380 KB
testcase_31 WA -
testcase_32 AC 1 ms
4,380 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
 t,a,b;main(i){for(;read(0,&t,1);t>32?b=b?t-49:9:i--?a=b,b=0:0);a=!putchar(a*b-1?a*b<1?83:80:69);}
 ^
main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘t’ [-Wimplicit-int]
main.c:1:3: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
 t,a,b;main(i){for(;read(0,&t,1);t>32?b=b?t-49:9:i--?a=b,b=0:0);a=!putchar(a*b-1?a*b<1?83:80:69);}
   ^
main.c:1:5: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int]
 t,a,b;main(i){for(;read(0,&t,1);t>32?b=b?t-49:9:i--?a=b,b=0:0);a=!putchar(a*b-1?a*b<1?83:80:69);}
     ^
main.c:1:7: warning: return type defaults to ‘int’ [-Wimplicit-int]
 t,a,b;main(i){for(;read(0,&t,1);t>32?b=b?t-49:9:i--?a=b,b=0:0);a=!putchar(a*b-1?a*b<1?83:80:69);}
       ^~~~
main.c: In function ‘main’:
main.c:1:7: warning: type of ‘i’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:20: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
 t,a,b;main(i){for(;read(0,&t,1);t>32?b=b?t-49:9:i--?a=b,b=0:0);a=!putchar(a*b-1?a*b<1?83:80:69);}
                    ^~~~
main.c:1:67: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration]
 t,a,b;main(i){for(;read(0,&t,1);t>32?b=b?t-49:9:i--?a=b,b=0:0);a=!putchar(a*b-1?a*b<1?83:80:69);}
                                                                   ^~~~~~~

ソースコード

diff #

t,a,b;main(i){for(;read(0,&t,1);t>32?b=b?t-49:9:i--?a=b,b=0:0);a=!putchar(a*b-1?a*b<1?83:80:69);}
0