結果
| 問題 | No.587 七対子 |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2018-01-26 13:26:28 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 92 bytes |
| 記録 | |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 29,512 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-08 16:15:49 |
| 合計ジャッジ時間 | 4,061 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 35 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | a[999],t;main(i){for(;a[++i]&~2?t=a[*a=i]>1|t?"Impossible":a:i<128;)a[getchar()]++;puts(t);}
| ^
main.c: In function ‘main’:
main.c:1:59: warning: pointer type mismatch in conditional expression
1 | a[999],t;main(i){for(;a[++i]&~2?t=a[*a=i]>1|t?"Impossible":a:i<128;)a[getchar()]++;puts(t);}
| ^
main.c:1:34: warning: assignment to ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
1 | a[999],t;main(i){for(;a[++i]&~2?t=a[*a=i]>1|t?"Impossible":a:i<128;)a[getchar()]++;puts(t);}
| ^
main.c:1:89: warning: passing argument 1 of ‘puts’ makes pointer from integer without a cast [-Wint-conversion]
1 | a[999],t;main(i){for(;a[++i]&~2?t=a[*a=i]>1|t?"Impossible":a:i<128;)a[getchar()]++;puts(t);}
| ^
| |
| int
main.c:1:89: note: expected ‘const char *’ but argument is of type ‘int’
ソースコード
a[999],t;main(i){for(;a[++i]&~2?t=a[*a=i]>1|t?"Impossible":a:i<128;)a[getchar()]++;puts(t);}
tails