Submission #00064


ソースコード

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;
printf("%100lf\n",f(f(h(a)+g(a))+f(g(a))-h(g(a+f(a)))));
}

ステータス

項目 データ
問題 0009 - Math Functions
ユーザー名 ei2406
投稿日時 2024-07-18 14:24:23
言語 C++17
状態 Wrong Answer
得点 0
ソースコード長 371 Byte
最大実行時間 28 ms
最大メモリ使用量 592 KB

セット

セット 得点 Cases
1 ALL 0 / 10 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
1.txt AC 17 ms 476 KB
1
2.txt AC 17 ms 452 KB
1
3.txt AC 28 ms 552 KB
1
4.txt AC 27 ms 528 KB
1
5.txt AC 16 ms 496 KB
1
6.txt AC 22 ms 592 KB
1
7.txt AC 28 ms 564 KB
1
8.txt WA 21 ms 536 KB
1
sample1.txt WA 20 ms 512 KB
1
sample2.txt AC 23 ms 488 KB
1
sample3.txt AC 23 ms 592 KB
1