結果

問題 No.446 ゆきこーだーの雨と雪 (1)
コンテスト
ユーザー testestest
提出日時 2016-12-04 07:45:05
言語 C90
(gcc 15.2.0)
コンパイル:
gcc-15 -O2 -std=c90 -DONLINE_JUDGE -o a.out _filename_ -lm
実行:
./a.out
結果
RE  
(最新)
AC  
(最初)
実行時間 -
コード長 99 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 154 ms
コンパイル使用メモリ 36,148 KB
最終ジャッジ日時 2026-02-23 23:14:02
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 4
other RE * 13
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:2:1: warning: data definition has no type or storage class
    2 | n;char*t,s[];main(){n=!puts(f|f?"NG":"OK");}
      | ^
main.c:2:10: warning: array 's' assumed to have one element
    2 | n;char*t,s[];main(){n=!puts(f|f?"NG":"OK");}
      |          ^
/usr/bin/ld: /tmp/ccUGq9z1.o: in function `main':
main.c:(.text.startup+0x10): 警告: the `gets' function is dangerous and should not be used.

ソースコード

diff #
raw source code

#define f strtol(gets(s),&t,0)>12345|*t|(*s==48&&s[1])
n;char*t,s[];main(){n=!puts(f|f?"NG":"OK");}
0