結果
問題 | No.668 6.0*10^23 |
ユーザー | testestest |
提出日時 | 2018-05-15 12:55:45 |
言語 | C (gcc 12.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 113 bytes |
コンパイル時間 | 100 ms |
コンパイル使用メモリ | 29,184 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-30 06:44:13 |
合計ジャッジ時間 | 3,341 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
6,812 KB |
testcase_01 | AC | 80 ms
6,940 KB |
testcase_02 | AC | 48 ms
6,940 KB |
testcase_03 | AC | 30 ms
6,940 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | AC | 1 ms
6,940 KB |
testcase_10 | AC | 26 ms
6,944 KB |
testcase_11 | AC | 76 ms
6,944 KB |
testcase_12 | AC | 23 ms
6,944 KB |
testcase_13 | AC | 76 ms
6,940 KB |
testcase_14 | AC | 59 ms
6,940 KB |
testcase_15 | AC | 9 ms
6,944 KB |
testcase_16 | AC | 17 ms
6,944 KB |
testcase_17 | AC | 69 ms
6,940 KB |
testcase_18 | AC | 38 ms
6,940 KB |
testcase_19 | AC | 16 ms
6,944 KB |
testcase_20 | AC | 42 ms
6,940 KB |
testcase_21 | AC | 41 ms
6,940 KB |
testcase_22 | AC | 70 ms
6,940 KB |
testcase_23 | AC | 49 ms
6,940 KB |
testcase_24 | AC | 12 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 | 74 ms
6,940 KB |
testcase_29 | AC | 29 ms
6,944 KB |
testcase_30 | AC | 78 ms
6,944 KB |
testcase_31 | AC | 44 ms
6,940 KB |
testcase_32 | AC | 11 ms
6,940 KB |
testcase_33 | AC | 61 ms
6,940 KB |
testcase_34 | AC | 25 ms
6,940 KB |
testcase_35 | AC | 22 ms
6,940 KB |
testcase_36 | AC | 55 ms
6,944 KB |
testcase_37 | AC | 76 ms
6,940 KB |
testcase_38 | AC | 39 ms
6,940 KB |
testcase_39 | AC | 48 ms
6,940 KB |
testcase_40 | AC | 71 ms
6,944 KB |
testcase_41 | AC | 60 ms
6,940 KB |
testcase_42 | AC | 34 ms
6,940 KB |
testcase_43 | AC | 67 ms
6,940 KB |
testcase_44 | AC | 80 ms
6,944 KB |
testcase_45 | AC | 1 ms
6,940 KB |
testcase_46 | AC | 1 ms
6,944 KB |
testcase_47 | AC | 1 ms
6,948 KB |
testcase_48 | AC | 1 ms
6,944 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++<3?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.94?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++<3?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.94?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++<3?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.94?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++<3?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.94?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++<3?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.94?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++<3?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.94?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++<3?s+=(t-48)*z:0;printf("%.1f*10^%d\n",s,s>9.94?s/=10,c-1:c-2);}