結果
| 問題 | No.111 あばばばば |
| コンテスト | |
| ユーザー |
hogeover30
|
| 提出日時 | 2015-04-04 04:06:23 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 55 bytes |
| 記録 | |
| コンパイル時間 | 35 ms |
| コンパイル使用メモリ | 27,648 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-23 21:16:41 |
| 合計ジャッジ時間 | 2,281 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 10 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | n;main(){n=!printf("%Ld\n",1LL*n*n,n=atoi()/2,gets());}
| ^
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("%Ld\n",1LL*n*n,n=atoi()/2,gets());}
| ^~~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
+++ |+#include <stdio.h>
1 | n;main(){n=!printf("%Ld\n",1LL*n*n,n=atoi()/2,gets());}
main.c:1:20: warning: too many arguments for format [-Wformat-extra-args]
1 | n;main(){n=!printf("%Ld\n",1LL*n*n,n=atoi()/2,gets());}
| ^~~~~~~
/usr/bin/ld: /tmp/ccM21rSR.o: in function `main':
main.c:(.text.startup+0x8): 警告: the `gets' function is dangerous and should not be used.
ソースコード
n;main(){n=!printf("%Ld\n",1LL*n*n,n=atoi()/2,gets());}
hogeover30