結果
問題 | No.456 Millions of Submits! |
ユーザー | tails |
提出日時 | 2016-12-09 11:24:59 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 153 bytes |
コンパイル時間 | 234 ms |
コンパイル使用メモリ | 24,756 KB |
実行使用メモリ | 4,384 KB |
最終ジャッジ日時 | 2023-09-05 21:31:42 |
合計ジャッジ時間 | 3,681 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
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;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f ",b?exp(n):pow(t,1./a)))for(n=.1;++i<6;n-=(a*n+b*log(n)-log(t))/(a+b/n));} ^ main.c:1:12: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] main.c:1:14: warning: return type defaults to ‘int’ [-Wimplicit-int] double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f ",b?exp(n):pow(t,1./a)))for(n=.1;++i<6;n-=(a*n+b*log(n)-log(t))/(a+b/n));} ^~~~ main.c: In function ‘main’: main.c:1:14: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int] main.c:1:14: warning: type of ‘b’ defaults to ‘int’ [-Wimplicit-int] main.c:1:28: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration] double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f ",b?exp(n):pow(t,1./a)))for(n=.1;++i<6;n-=(a*n+b*log(n)-log(t))/(a+b/n));} ^~~~ main.c:1:40: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f ",b?exp(n):pow(t,1./a)))for(n=.1;++i<6;n-=(a*n+b*log(n)-log(t))/(a+b/n));} ^~~~~ main.c:1:40: warning: incompatible implicit declaration of built-in function ‘scanf’ main.c:1:40: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ +#include <stdio.h> double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f ",b?exp(n):pow(t,1./a)))for(n=.1;++i<6;n-=(a*n+b*log(n)-log(t))/(a+b/n));} ^~~~~ main.c:1:66: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f ",b?exp(n):pow(t,1./a)))for(n=.1;++i<6;n-=(a*n+b*log(n)-log(t))/(a+b/n));}
ソースコード
double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f ",b?exp(n):pow(t,1./a)))for(n=.1;++i<6;n-=(a*n+b*log(n)-log(t))/(a+b/n));}