結果
| 問題 | No.237 作図可能性 |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2016-05-20 00:05:26 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 111 bytes |
| 記録 | |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 29,260 KB |
| 最終ジャッジ日時 | 2026-02-23 21:19:07 |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 28 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class
1 | n;f(a,b){return b--?f(a,b)+f(a/((1<<(1<<b))+1),b):a?log2(a)+1:0;}main(){n=!printf("%d",f(atoi(gets(&n)),5)-2);}
| ^
main.c: In function ‘main’:
main.c:1:76: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
1 | n;f(a,b){return b--?f(a,b)+f(a/((1<<(1<<b))+1),b):a?log2(a)+1:0;}main(){n=!printf("%d",f(atoi(gets(&n)),5)-2);}
| ^~~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
+++ |+#include <stdio.h>
1 | n;f(a,b){return b--?f(a,b)+f(a/((1<<(1<<b))+1),b):a?log2(a)+1:0;}main(){n=!printf("%d",f(atoi(gets(&n)),5)-2);}
/usr/bin/ld: /tmp/ccgysPLD.o: in function `main':
main.c:(.text.startup+0x12): 警告: the `gets' function is dangerous and should not be used.
ソースコード
n;f(a,b){return b--?f(a,b)+f(a/((1<<(1<<b))+1),b):a?log2(a)+1:0;}main(){n=!printf("%d",f(atoi(gets(&n)),5)-2);}
testestest