結果
| 問題 | No.432 占い(Easy) |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2016-10-15 16:10:41 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
AC
|
| 実行時間 | 4 ms / 2,000 ms |
| コード長 | 109 bytes |
| 記録 | |
| コンパイル時間 | 261 ms |
| コンパイル使用メモリ | 29,000 KB |
| 最終ジャッジ日時 | 2026-02-23 22:34:40 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 22 |
コンパイルメッセージ
/usr/bin/ld: /tmp/ccmhWEq4.o: in function `main': main.c:(.text.startup+0x1b): 警告: the `gets' function is dangerous and should not be used.
ソースコード
char*p,s[1010];main(){for(gets(s);gets(s);puts(s))for(;s[1];*p=0)for(p=s;p[1];*p-=*p>57?9:0,p++)*p+=p[1]-48;}
testestest