QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#46068 | #2873. Extreme Problem | a518backtrack | AC ✓ | 3ms | 3704kb | C++ | 471b | 2022-08-25 04:32:10 | 2022-08-25 04:32:11 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
int main()
{
string s[100];
for (int i=0; i<10; ++i) cin>>s[i];
cout << "x y +";
if (s[3][(int)s[3].size()-1]=='s') cout << " 9 0 x 4 + 2 ^ y 2 ^ + ^ * + 9 0 x 2 ^ y 4 + 2 ^ + ^ * +";
if (s[7][(int)s[7].size()-1]=='s') cout << " 9 0 x 4 - 2 ^ y 2 ^ + ^ * - 9 0 x 2 ^ y 4 - 2 ^ + ^ * -";
if (s[9][(int)s[9].size()-1]=='s') cout << " 0 x 9 + 2 ^ y 2 ^ + ^ -";
//9 0^((x+1)^2+y^2)
}
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 3ms
memory: 3644kb
input:
Multiple local maxima: No Multiple local minima: No Plateaus: No
output:
x y +
result:
ok OK
Test #2:
score: 0
Accepted
time: 1ms
memory: 3564kb
input:
Multiple local maxima: No Multiple local minima: No Plateaus: Yes
output:
x y + 0 x 9 + 2 ^ y 2 ^ + ^ -
result:
ok OK
Test #3:
score: 0
Accepted
time: 2ms
memory: 3636kb
input:
Multiple local maxima: No Multiple local minima: Yes Plateaus: No
output:
x y + 9 0 x 4 - 2 ^ y 2 ^ + ^ * - 9 0 x 2 ^ y 4 - 2 ^ + ^ * -
result:
ok OK
Test #4:
score: 0
Accepted
time: 3ms
memory: 3564kb
input:
Multiple local maxima: No Multiple local minima: Yes Plateaus: Yes
output:
x y + 9 0 x 4 - 2 ^ y 2 ^ + ^ * - 9 0 x 2 ^ y 4 - 2 ^ + ^ * - 0 x 9 + 2 ^ y 2 ^ + ^ -
result:
ok OK
Test #5:
score: 0
Accepted
time: 2ms
memory: 3640kb
input:
Multiple local maxima: Yes Multiple local minima: No Plateaus: No
output:
x y + 9 0 x 4 + 2 ^ y 2 ^ + ^ * + 9 0 x 2 ^ y 4 + 2 ^ + ^ * +
result:
ok OK
Test #6:
score: 0
Accepted
time: 2ms
memory: 3648kb
input:
Multiple local maxima: Yes Multiple local minima: No Plateaus: Yes
output:
x y + 9 0 x 4 + 2 ^ y 2 ^ + ^ * + 9 0 x 2 ^ y 4 + 2 ^ + ^ * + 0 x 9 + 2 ^ y 2 ^ + ^ -
result:
ok OK
Test #7:
score: 0
Accepted
time: 1ms
memory: 3512kb
input:
Multiple local maxima: Yes Multiple local minima: Yes Plateaus: No
output:
x y + 9 0 x 4 + 2 ^ y 2 ^ + ^ * + 9 0 x 2 ^ y 4 + 2 ^ + ^ * + 9 0 x 4 - 2 ^ y 2 ^ + ^ * - 9 0 x 2 ^ y 4 - 2 ^ + ^ * -
result:
ok OK
Test #8:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
Multiple local maxima: Yes Multiple local minima: Yes Plateaus: Yes
output:
x y + 9 0 x 4 + 2 ^ y 2 ^ + ^ * + 9 0 x 2 ^ y 4 + 2 ^ + ^ * + 9 0 x 4 - 2 ^ y 2 ^ + ^ * - 9 0 x 2 ^ y 4 - 2 ^ + ^ * - 0 x 9 + 2 ^ y 2 ^ + ^ -
result:
ok OK