結果
問題 | No.456 Millions of Submits! |
ユーザー | tails |
提出日時 | 2016-12-09 10:26:45 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 144 bytes |
コンパイル時間 | 1,021 ms |
コンパイル使用メモリ | 23,964 KB |
実行使用メモリ | 4,508 KB |
最終ジャッジ日時 | 2023-09-05 21:23:33 |
合計ジャッジ時間 | 4,305 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
4,380 KB |
testcase_01 | AC | 1 ms
4,376 KB |
testcase_02 | AC | 0 ms
4,376 KB |
testcase_03 | AC | 1 ms
4,376 KB |
testcase_04 | AC | 1 ms
4,380 KB |
testcase_05 | WA | - |
testcase_06 | AC | 1 ms
4,376 KB |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
コンパイルメッセージ
main.c:1:12: warning: data definition has no type or storage class double t,n;a,b;main(i){for(gets(&a);~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(t=log(t),n=i=1;++i<16;n-=(a*n+b*log(n)-t)/(a+b/n));} ^ main.c:1:12: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int] main.c:1:14: warning: type defaults to ‘int’ in declaration of ‘b’ [-Wimplicit-int] double t,n;a,b;main(i){for(gets(&a);~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(t=log(t),n=i=1;++i<16;n-=(a*n+b*log(n)-t)/(a+b/n));} ^ main.c:1:16: warning: return type defaults to ‘int’ [-Wimplicit-int] double t,n;a,b;main(i){for(gets(&a);~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(t=log(t),n=i=1;++i<16;n-=(a*n+b*log(n)-t)/(a+b/n));} ^~~~ main.c: In function ‘main’: main.c:1:16: warning: type of ‘i’ defaults to ‘int’ [-Wimplicit-int] main.c:1:28: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration] double t,n;a,b;main(i){for(gets(&a);~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(t=log(t),n=i=1;++i<16;n-=(a*n+b*log(n)-t)/(a+b/n));} ^~~~ main.c:1:38: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] double t,n;a,b;main(i){for(gets(&a);~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(t=log(t),n=i=1;++i<16;n-=(a*n+b*log(n)-t)/(a+b/n));} ^~~~~ main.c:1:38: warning: incompatible implicit declaration of built-in function ‘scanf’ main.c:1:38: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ +#include <stdio.h> double t,n;a,b;main(i){for(gets(&a);~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(t=log(t),n=i=1;++i<16;n-=(a*n+b*log(n)-t)/(a+b/n));} ^~~~~ main.c:1:64: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] double t,n;a,b;main(i){
ソースコード
double t,n;a,b;main(i){for(gets(&a);~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(t=log(t),n=i=1;++i<16;n-=(a*n+b*log(n)-t)/(a+b/n));}