Submission #937361

# Submission time Handle Problem Language Result Execution time Memory
937361 2024-03-04T01:10:39 Z Darren0724 Chameleon's Love (JOI20_chameleon) C++17
0 / 100
15 ms 448 KB
#include "chameleon.h"
#include <bits/stdc++.h>
using namespace std;

void Solve(int n) {
	for(int i=1;i<=n*2;i++){
		for(int j=i+1;j<=n*2;j++){
			int p=Query({i,j});
			if(p==1){
				Answer(i,j);
			}
		}
	}
}
# 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 448 KB Wrong Answer [3]
4 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 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 Correct 0 ms 344 KB Output is correct
3 Incorrect 15 ms 448 KB Wrong Answer [3]
4 Halted 0 ms 0 KB -