結果
| 問題 | No.456 Millions of Submits! |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2016-12-09 10:36:28 |
| 言語 | C90(gcc15) (gcc 15.2.0) |
| 結果 |
WA
(最新)
CE
(最初)
|
| 実行時間 | - |
| コード長 | 142 bytes |
| 記録 | |
| コンパイル時間 | 183 ms |
| コンパイル使用メモリ | 36,020 KB |
| 最終ジャッジ日時 | 2026-02-23 23:33:29 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 10 |
コンパイルメッセージ
main.c:1:12: warning: data definition has no type or storage class
1 | double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(n=t=log(t);++i<20;n-=(a*n+b*log(n)-t)/(a+b/n));}
| ^
main.c: In function 'main':
main.c:1:40: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
1 | double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(n=t=log(t);++i<20;n-=(a*n+b*log(n)-t)/(a+b/n));}
| ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
+++ |+#include <stdio.h>
1 | double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(n=t=log(t);++i<20;n-=(a*n+b*log(n)-t)/(a+b/n));}
main.c:1:66: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
1 | double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(n=t=log(t);++i<20;n-=(a*n+b*log(n)-t)/(a+b/n));}
| ^~~~~~
main.c:1:66: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:1:83: warning: incompatible implicit declaration of built-in function 'exp' [-Wbuiltin-declaration-mismatch]
1 | double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(n=t=log(t);++i<20;n-=(a*n+b*log(n)-t)/(a+b/n));}
| ^~~
main.c:1:1: note: include '<math.h>' or provide a declaration of 'exp'
+++ |+#include <math.h>
1 | double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(n=t=log(t);++i<20;n-=(a*n+b*log(n)-t)/(a+b/n));}
main.c:1:99: warning: incompatible implicit declaration of built-in function 'log' [-Wbuiltin-declaration-mismatch]
1 |
ソースコード
double t,n;i;main(a,b){for(gets(&a);i=~scanf("%d%d%lf",&a,&b,&t);printf("%.10f\n",exp(n)))for(n=t=log(t);++i<20;n-=(a*n+b*log(n)-t)/(a+b/n));}
tails