結果

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

ソースコード

diff #
raw source code

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