結果
| 問題 | No.221 犯罪都市 |
| コンテスト | |
| ユーザー |
hogeover30
|
| 提出日時 | 2017-01-11 09:37:18 |
| 言語 | C90 (gcc 15.2.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 55 bytes |
| 記録 | |
| コンパイル時間 | 99 ms |
| コンパイル使用メモリ | 34,616 KB |
| 最終ジャッジ日時 | 2026-02-24 00:05:43 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 16 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | n;main(){n=!printf("%f",10201/(102+atof(gets(&n)))-1);}
| ^
main.c: In function 'main':
main.c:1:13: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
1 | n;main(){n=!printf("%f",10201/(102+atof(gets(&n)))-1);}
| ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
+++ |+#include <stdio.h>
1 | n;main(){n=!printf("%f",10201/(102+atof(gets(&n)))-1);}
/usr/bin/ld: /tmp/ccXD9n5M.o: in function `main':
main.c:(.text.startup+0xe): 警告: the `gets' function is dangerous and should not be used.
ソースコード
n;main(){n=!printf("%f",10201/(102+atof(gets(&n)))-1);}
hogeover30