結果
| 問題 | No.69 文字を自由に並び替え |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2015-08-09 23:04:14 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 117 bytes |
| 記録 | |
| コンパイル時間 | 88 ms |
| コンパイル使用メモリ | 28,160 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-24 01:48:54 |
| 合計ジャッジ時間 | 1,234 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 9 WA * 6 |
コンパイルメッセージ
main.c:1:11: warning: data definition has no type or storage class
1 | char a[9];i;main(b){gets(a-2);for(;(b=getchar()-10)&&i-9;a[i]=0)for(i=-3;++i<9&&a[i]-b+10;);i=!puts(i-8?"YES":"NO");}
| ^
/usr/bin/ld: /tmp/ccA69CfV.o: in function `main':
main.c:(.text.startup+0x16): 警告: the `gets' function is dangerous and should not be used.
ソースコード
char a[9];i;main(b){gets(a-2);for(;(b=getchar()-10)&&i-9;a[i]=0)for(i=-3;++i<9&&a[i]-b+10;);i=!puts(i-8?"YES":"NO");}
testestest