Submission #945699

# Submission time Handle Problem Language Result Execution time Memory
945699 2024-03-14T06:31:12 Z kokoxuya Chameleon's Love (JOI20_chameleon) C++14
0 / 100
15 ms 344 KB
#include "chameleon.h"
#include <vector>
using namespace std;

void Solve(int N) 
{
  for (int a = 1; a <= (2 * N); a++)
  {
	  for (int b = (a + 1); b <= (2  * N); b++)
	  {
		  vector<int>vec = {a,b};
		  if (Query(vec) == 1)
		  {
			  Answer(a,b);
		  }
	  }
  }
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Incorrect 15 ms 344 KB Wrong Answer [3]
4 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Incorrect 0 ms 344 KB Wrong Answer [6]
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 1 ms 344 KB Output is correct
2 Incorrect 0 ms 344 KB Wrong Answer [6]
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Incorrect 0 ms 344 KB Wrong Answer [6]
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 0 ms 344 KB Output is correct
3 Incorrect 15 ms 344 KB Wrong Answer [3]
4 Halted 0 ms 0 KB -