結果

問題 No.88 次はどっちだ
ユーザー testestesttestestest
提出日時 2015-08-07 21:03:27
言語 C90
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 76 bytes
コンパイル時間 112 ms
コンパイル使用メモリ 22,964 KB
実行使用メモリ 4,504 KB
最終ジャッジ日時 2023-09-25 05:55:37
合計ジャッジ時間 735 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,380 KB
testcase_01 AC 1 ms
4,376 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 0 ms
4,380 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 1 ms
4,376 KB
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 0 ms
4,376 KB
testcase_10 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
 s;main(a){for(;read(0,&s,1);s-46&s-111||a++);s=!printf(a%2?"yukiko":"oda");}
 ^
main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int]
main.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int]
 s;main(a){for(;read(0,&s,1);s-46&s-111||a++);s=!printf(a%2?"yukiko":"oda");}
   ^~~~
main.c: In function ‘main’:
main.c:1:3: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:16: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration]
 s;main(a){for(;read(0,&s,1);s-46&s-111||a++);s=!printf(a%2?"yukiko":"oda");}
                ^~~~
main.c:1:49: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
 s;main(a){for(;read(0,&s,1);s-46&s-111||a++);s=!printf(a%2?"yukiko":"oda");}
                                                 ^~~~~~
main.c:1:49: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:1:49: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
+#include <stdio.h>
 s;main(a){for(;read(0,&s,1);s-46&s-111||a++);s=!printf(a%2?"yukiko":"oda");}
                                                 ^~~~~~

ソースコード

diff #

s;main(a){for(;read(0,&s,1);s-46&s-111||a++);s=!printf(a%2?"yukiko":"oda");}
0