Submission #00097
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #include<iostream> #include<math.h> using namespace std; double f( double a){ return (6*a)-10; } double g( double b){ return (b*( sqrt (b)))-(2*b); } double h( double c){ return (3*c)-((c*c)-(2*c)+1); } int main(){ double x,ans; cin>>x; ans=f(f(h(x)+g(x))+f(g(x))-h(g(x+f(x)))); cout<<ans<< "\n" ; return (0); } |
ステータス
項目 | データ |
---|---|
問題 | 0009 - Math Functions |
ユーザー名 | ei2437 |
投稿日時 | 2024-07-18 15:14:32 |
言語 | C++17 |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 353 Byte |
最大実行時間 | 27 ms |
最大メモリ使用量 | 696 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 10 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
1.txt | WA | 20 ms | 604 KB |
1
|
2.txt | WA | 27 ms | 572 KB |
1
|
3.txt | WA | 16 ms | 420 KB |
1
|
4.txt | WA | 19 ms | 396 KB |
1
|
5.txt | WA | 22 ms | 496 KB |
1
|
6.txt | WA | 22 ms | 596 KB |
1
|
7.txt | WA | 16 ms | 696 KB |
1
|
8.txt | WA | 21 ms | 536 KB |
1
|
sample1.txt | WA | 22 ms | 508 KB |
1
|
sample2.txt | WA | 16 ms | 608 KB |
1
|
sample3.txt | WA | 25 ms | 584 KB |
1
|