結果
問題 | No.668 6.0*10^23 |
ユーザー | 👑 testestest |
提出日時 | 2018-05-15 12:57:39 |
言語 | C (gcc 12.3.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 114 bytes |
コンパイル時間 | 717 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 06:44:22 |
合計ジャッジ時間 | 3,302 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 80 ms
6,944 KB |
testcase_02 | AC | 48 ms
6,940 KB |
testcase_03 | AC | 30 ms
6,944 KB |
testcase_04 | AC | 37 ms
6,940 KB |
testcase_05 | AC | 16 ms
6,940 KB |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 1 ms
6,940 KB |
testcase_10 | AC | 26 ms
6,940 KB |
testcase_11 | AC | 77 ms
6,940 KB |
testcase_12 | AC | 23 ms
6,944 KB |
testcase_13 | AC | 73 ms
6,940 KB |
testcase_14 | AC | 58 ms
6,944 KB |
testcase_15 | AC | 10 ms
6,944 KB |
testcase_16 | AC | 16 ms
6,940 KB |
testcase_17 | AC | 69 ms
6,940 KB |
testcase_18 | AC | 40 ms
6,940 KB |
testcase_19 | AC | 17 ms
6,944 KB |
testcase_20 | AC | 44 ms
6,944 KB |
testcase_21 | AC | 42 ms
6,944 KB |
testcase_22 | AC | 73 ms
6,944 KB |
testcase_23 | AC | 50 ms
6,940 KB |
testcase_24 | AC | 13 ms
6,940 KB |
testcase_25 | AC | 74 ms
6,940 KB |
testcase_26 | AC | 3 ms
6,940 KB |
testcase_27 | AC | 52 ms
6,944 KB |
testcase_28 | AC | 75 ms
6,940 KB |
testcase_29 | AC | 31 ms
6,940 KB |
testcase_30 | AC | 78 ms
6,944 KB |
testcase_31 | AC | 44 ms
6,944 KB |
testcase_32 | AC | 11 ms
6,940 KB |
testcase_33 | AC | 63 ms
6,944 KB |
testcase_34 | AC | 25 ms
6,940 KB |
testcase_35 | AC | 23 ms
6,940 KB |
testcase_36 | AC | 56 ms
6,940 KB |
testcase_37 | AC | 78 ms
6,944 KB |
testcase_38 | AC | 39 ms
6,940 KB |
testcase_39 | AC | 51 ms
6,940 KB |
testcase_40 | AC | 74 ms
6,940 KB |
testcase_41 | AC | 63 ms
6,944 KB |
testcase_42 | AC | 35 ms
6,944 KB |
testcase_43 | AC | 69 ms
6,940 KB |
testcase_44 | AC | 80 ms
6,944 KB |
testcase_45 | AC | 1 ms
6,944 KB |
testcase_46 | AC | 1 ms
6,940 KB |
testcase_47 | AC | 1 ms
6,944 KB |
testcase_48 | AC | 1 ms
6,940 KB |
testcase_49 | AC | 1 ms
6,940 KB |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class 1 | c;float s,z=1;main(t){for(;read(0,&t,1);z*=.1)c++<4?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.949?s/=10,c-1:c-2);} | ^ main.c:1:1: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] main.c:1:15: warning: return type defaults to 'int' [-Wimplicit-int] 1 | c;float s,z=1;main(t){for(;read(0,&t,1);z*=.1)c++<4?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.949?s/=10,c-1:c-2);} | ^~~~ main.c: In function 'main': main.c:1:15: warning: type of 't' defaults to 'int' [-Wimplicit-int] main.c:1:28: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] 1 | c;float s,z=1;main(t){for(;read(0,&t,1);z*=.1)c++<4?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.949?s/=10,c-1:c-2);} | ^~~~ main.c:1:67: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 1 | c;float s,z=1;main(t){for(;read(0,&t,1);z*=.1)c++<4?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.949?s/=10,c-1:c-2);} | ^~~~~~ main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf' +++ |+#include <stdio.h> 1 | c;float s,z=1;main(t){for(;read(0,&t,1);z*=.1)c++<4?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.949?s/=10,c-1:c-2);} main.c:1:67: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 1 | c;float s,z=1;main(t){for(;read(0,&t,1);z*=.1)c++<4?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.949?s/=10,c-1:c-2);} | ^~~~~~ main.c:1:67: note: include '<stdio.h>' or provide a declaration of 'printf'
ソースコード
c;float s,z=1;main(t){for(;read(0,&t,1);z*=.1)c++<4?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.949?s/=10,c-1:c-2);}