結果

問題 No.441 和か積
ユーザー testestesttestestest
提出日時 2016-12-03 05:33:22
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 97 bytes
コンパイル時間 127 ms
コンパイル使用メモリ 19,584 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-05-05 18:03:02
合計ジャッジ時間 1,205 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 0 ms
6,940 KB
testcase_02 AC 1 ms
6,944 KB
testcase_03 AC 0 ms
6,940 KB
testcase_04 AC 1 ms
6,940 KB
testcase_05 AC 1 ms
6,940 KB
testcase_06 AC 1 ms
6,940 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 1 ms
6,944 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 1 ms
6,940 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 1 ms
6,940 KB
testcase_21 AC 1 ms
6,940 KB
testcase_22 WA -
testcase_23 AC 1 ms
6,944 KB
testcase_24 AC 0 ms
6,944 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 1 ms
6,944 KB
testcase_28 WA -
testcase_29 AC 0 ms
6,940 KB
testcase_30 AC 0 ms
6,944 KB
testcase_31 WA -
testcase_32 AC 1 ms
6,944 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | 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]
    1 | 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]
    1 | 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]
    1 | 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]
    1 | 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]
    1 | 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: note: include ‘<stdio.h>’ or provide a declaration of ‘putchar’
  +++ |+#include <stdio.h>
    1 | 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