Submission #00041
ソースコード
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #include<bits/stdc++.h> #define ll long long #define endl "\n" using namespace std; double f( double x){ x=6*x-10; return x; } double g( double x){ x=x* sqrt (x)-2*x; return x; } double h( double x){ x=3*x- pow (x-1,2); return x; } int main(){ double a; cin>>a; cout<<f(f(h(a)+g(a))+f(g(a))-h(g(a+f(a))))<<endl; } |
ステータス
項目 | データ |
---|---|
問題 | 0009 - Math Functions |
ユーザー名 | ei2406 |
投稿日時 | 2024-07-18 13:54:13 |
言語 | C++17 |
状態 | Wrong Answer |
得点 | 0 |
ソースコード長 | 362 Byte |
最大実行時間 | 28 ms |
最大メモリ使用量 | 644 KB |
セット
セット | 得点 | Cases | |
---|---|---|---|
1 | ALL | 0 / 10 | * |
テストケース
ファイル名 | 状態 | 実行時間 | メモリ使用量 | # |
---|---|---|---|---|
1.txt | WA | 25 ms | 604 KB |
1
|
2.txt | WA | 20 ms | 448 KB |
1
|
3.txt | WA | 25 ms | 544 KB |
1
|
4.txt | WA | 20 ms | 644 KB |
1
|
5.txt | WA | 24 ms | 608 KB |
1
|
6.txt | WA | 28 ms | 452 KB |
1
|
7.txt | WA | 21 ms | 552 KB |
1
|
8.txt | WA | 19 ms | 524 KB |
1
|
sample1.txt | WA | 24 ms | 492 KB |
1
|
sample2.txt | WA | 25 ms | 460 KB |
1
|
sample3.txt | WA | 20 ms | 432 KB |
1
|