結果
| 問題 | No.432 占い(Easy) |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2016-10-16 05:47:07 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 103 bytes |
| 記録 | |
| コンパイル時間 | 39 ms |
| コンパイル使用メモリ | 28,672 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-24 14:47:25 |
| 合計ジャッジ時間 | 1,814 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 4 WA * 18 |
コンパイルメッセージ
main.c:1:8: warning: array ‘s’ assumed to have one element
1 | char*p,s[];main(){for(gets(s);gets(s);puts(s))for(;s[1];*p=0)for(p=s;p[1];*p-=*p/58*9,p++)*p+=p[1]-48;}
| ^
/usr/bin/ld: /tmp/cckeVaxB.o: in function `main':
main.c:(.text.startup+0x26): 警告: the `gets' function is dangerous and should not be used.
ソースコード
char*p,s[];main(){for(gets(s);gets(s);puts(s))for(;s[1];*p=0)for(p=s;p[1];*p-=*p/58*9,p++)*p+=p[1]-48;}
testestest