結果
問題 | No.253 ロウソクの長さ |
ユーザー | 👑 testestest |
提出日時 | 2016-02-10 23:36:45 |
言語 | C90 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 118 bytes |
コンパイル時間 | 389 ms |
コンパイル使用メモリ | 19,328 KB |
実行使用メモリ | 25,220 KB |
平均クエリ数 | 26.44 |
最終ジャッジ日時 | 2024-07-16 22:54:38 |
合計ジャッジ時間 | 3,513 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 26 ms
24,940 KB |
testcase_01 | AC | 24 ms
25,220 KB |
testcase_02 | AC | 24 ms
24,964 KB |
testcase_03 | AC | 23 ms
24,580 KB |
testcase_04 | AC | 23 ms
24,836 KB |
testcase_05 | AC | 23 ms
24,580 KB |
testcase_06 | AC | 23 ms
24,964 KB |
testcase_07 | AC | 24 ms
24,964 KB |
testcase_08 | AC | 23 ms
24,580 KB |
testcase_09 | AC | 23 ms
24,964 KB |
testcase_10 | AC | 24 ms
24,836 KB |
testcase_11 | AC | 24 ms
24,964 KB |
testcase_12 | AC | 23 ms
24,964 KB |
testcase_13 | AC | 24 ms
24,580 KB |
testcase_14 | AC | 23 ms
25,220 KB |
testcase_15 | AC | 24 ms
24,964 KB |
testcase_16 | AC | 24 ms
24,580 KB |
testcase_17 | AC | 24 ms
25,220 KB |
testcase_18 | AC | 23 ms
25,220 KB |
testcase_19 | AC | 22 ms
24,964 KB |
testcase_20 | AC | 24 ms
24,820 KB |
testcase_21 | AC | 24 ms
25,220 KB |
testcase_22 | AC | 23 ms
24,580 KB |
testcase_23 | AC | 24 ms
24,836 KB |
testcase_24 | AC | 23 ms
24,836 KB |
testcase_25 | AC | 23 ms
25,220 KB |
testcase_26 | AC | 23 ms
24,820 KB |
testcase_27 | AC | 23 ms
24,964 KB |
testcase_28 | AC | 24 ms
25,220 KB |
testcase_29 | AC | 24 ms
24,836 KB |
testcase_30 | AC | 25 ms
24,580 KB |
testcase_31 | AC | 24 ms
24,964 KB |
testcase_32 | AC | 24 ms
24,836 KB |
testcase_33 | AC | 24 ms
24,964 KB |
testcase_34 | AC | 24 ms
24,964 KB |
testcase_35 | AC | 25 ms
24,964 KB |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class 1 | d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);} | ^ main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘d’ [-Wimplicit-int] main.c:1:6: warning: type defaults to ‘int’ in declaration of ‘s’ [-Wimplicit-int] 1 | d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);} | ^ main.c:1:8: warning: type defaults to ‘int’ in declaration of ‘j’ [-Wimplicit-int] 1 | d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);} | ^ main.c:1:10: warning: return type defaults to ‘int’ [-Wimplicit-int] 1 | d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);} | ^~~~ main.c: In function ‘main’: main.c:1:10: warning: type of ‘i’ defaults to ‘int’ [-Wimplicit-int] main.c:1:23: warning: implicit declaration of function ‘fflush’ [-Wimplicit-function-declaration] 1 | d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);} | ^~~~~~ main.c:1:31: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] 1 | d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);} | ^~~~~~ main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ +++ |+#include <stdio.h> 1 | d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);} main.c:1:31: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch] 1 |
ソースコード
d=64,s,j;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2)-!!d*j)),d;j++?s+=!!~i*d:(d+=!!~i<<30))scanf("%d",&i);}