結果
| 問題 | No.524 コインゲーム |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2017-08-12 13:41:17 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 42 bytes |
| 記録 | |
| コンパイル時間 | 84 ms |
| コンパイル使用メモリ | 28,612 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-08 16:13:43 |
| 合計ジャッジ時間 | 3,974 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 32 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | n;main(){puts(~atoi(gets(&n))%4?"O":"X");}
| ^
/usr/bin/ld: /tmp/ccER8NcP.o: in function `main':
main.c:(.text.startup+0x12): 警告: the `gets' function is dangerous and should not be used.
ソースコード
n;main(){puts(~atoi(gets(&n))%4?"O":"X");}
testestest