Submission #170269

# Submission time Handle Problem Language Result Execution time Memory
170269 2019-12-24T12:39:44 Z workharder Minerals (JOI19_minerals) C++14
0 / 100
10 ms 248 KB
#include "minerals.h"
using namespace std;

void Solve(int N) {
	for(int i=1;i<=N;i++){
		int prev=Query(i);
		for(int j=i+1;j<=N;j++){
			if(Query(j)==prev){
				Answer(i,j);
				break;
			}
			else Query(j);
		}
	}
}
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 10 ms 248 KB Wrong Answer [6]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB Wrong Answer [4]
2 Halted 0 ms 0 KB -