結果

問題 No.88 次はどっちだ
コンテスト
ユーザー testestest
提出日時 2015-08-07 18:42:59
言語 C90(gcc12)
(gcc 12.4.0)
コンパイル:
gcc-12 -O2 -std=c90 -DONLINE_JUDGE -o a.out _filename_ -lm
実行:
./a.out
結果
WA  
実行時間 -
コード長 96 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 226 ms
コンパイル使用メモリ 28,744 KB
最終ジャッジ日時 2026-02-23 19:00:38
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4 WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
    1 | b;char s;main(a){for(gets(&s),s-111&&a++;read(0,&s,1);s-46&&a++);b=!printf(a%2?"yukiko":"oda");}
      | ^
main.c: In function ‘main’:
main.c:1:69: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
    1 | b;char s;main(a){for(gets(&s),s-111&&a++;read(0,&s,1);s-46&&a++);b=!printf(a%2?"yukiko":"oda");}
      |                                                                     ^~~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
  +++ |+#include <stdio.h>
    1 | b;char s;main(a){for(gets(&s),s-111&&a++;read(0,&s,1);s-46&&a++);b=!printf(a%2?"yukiko":"oda");}
/usr/bin/ld: /tmp/ccehQn6S.o: in function `main':
main.c:(.text.startup+0x19): 警告: the `gets' function is dangerous and should not be used.

ソースコード

diff #
raw source code

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