QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#46068#2873. Extreme Problema518backtrackAC ✓3ms3704kbC++471b2022-08-25 04:32:102022-08-25 04:32:11

Judging History

This is the latest submission verdict.

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2022-08-25 04:32:11]
  • Judged
  • Verdict: AC
  • Time: 3ms
  • Memory: 3704kb
  • [2022-08-25 04:32:10]
  • Submitted

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