結果

問題 No.197 手品
ユーザー testestesttestestest
提出日時 2016-05-19 12:45:57
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 102 bytes
コンパイル時間 458 ms
コンパイル使用メモリ 23,552 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-09 21:00:31
合計ジャッジ時間 2,039 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 0 ms
4,380 KB
testcase_04 AC 1 ms
4,380 KB
testcase_05 AC 0 ms
4,376 KB
testcase_06 AC 1 ms
4,376 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 WA -
testcase_09 AC 1 ms
4,376 KB
testcase_10 WA -
testcase_11 AC 1 ms
4,376 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 1 ms
4,380 KB
testcase_16 WA -
testcase_17 AC 0 ms
4,380 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 WA -
testcase_26 AC 1 ms
4,376 KB
testcase_27 WA -
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 0 ms
4,376 KB
testcase_31 WA -
testcase_32 AC 1 ms
4,376 KB
testcase_33 WA -
testcase_34 AC 0 ms
4,380 KB
testcase_35 WA -
testcase_36 AC 1 ms
4,380 KB
testcase_37 AC 0 ms
4,380 KB
testcase_38 WA -
testcase_39 WA -
testcase_40 AC 1 ms
4,380 KB
testcase_41 WA -
testcase_42 WA -
testcase_43 AC 0 ms
4,376 KB
testcase_44 WA -
testcase_45 WA -
testcase_46 AC 0 ms
4,376 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
 x;main(a,b,s){x=gets(&x)?main(b,s,x):!puts((a-b)%5|(s-48?s-49?0:a%7*b%7==1:a-b)?"SUCCESS":"FAILURE");}
 ^
main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘x’ [-Wimplicit-int]
main.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int]
 x;main(a,b,s){x=gets(&x)?main(b,s,x):!puts((a-b)%5|(s-48?s-49?0:a%7*b%7==1:a-b)?"SUCCESS":"FAILURE");}
   ^~~~
main.c: In function ‘main’:
main.c:1:3: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:3: warning: type of ‘b’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:3: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:17: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 x;main(a,b,s){x=gets(&x)?main(b,s,x):!puts((a-b)%5|(s-48?s-49?0:a%7*b%7==1:a-b)?"SUCCESS":"FAILURE");}
                 ^~~~
main.c:1:39: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 x;main(a,b,s){x=gets(&x)?main(b,s,x):!puts((a-b)%5|(s-48?s-49?0:a%7*b%7==1:a-b)?"SUCCESS":"FAILURE");}
                                       ^~~~
/tmp/ccHdMVcx.o: In function `main':
main.c:(.text.startup+0x13): warning: the `gets' function is dangerous and should not be used.

ソースコード

diff #

x;main(a,b,s){x=gets(&x)?main(b,s,x):!puts((a-b)%5|(s-48?s-49?0:a%7*b%7==1:a-b)?"SUCCESS":"FAILURE");}
0