結果
| 問題 | No.656 ゴルフ |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2018-03-09 16:53:21 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 59 bytes |
| 記録 | |
| コンパイル時間 | 120 ms |
| コンパイル使用メモリ | 28,360 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-08 16:16:11 |
| 合計ジャッジ時間 | 691 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | RE * 6 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | x;main(c){for(;c=getchar()-10;)x+=c-38?:10;printf("%d",x);}
| ^
main.c: In function ‘main’:
main.c:1:44: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
1 | x;main(c){for(;c=getchar()-10;)x+=c-38?:10;printf("%d",x);}
| ^~~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
+++ |+#include <stdio.h>
1 | x;main(c){for(;c=getchar()-10;)x+=c-38?:10;printf("%d",x);}
ソースコード
x;main(c){for(;c=getchar()-10;)x+=c-38?:10;printf("%d",x);}
%20