Submission #331967

# Submission time Handle Problem Language Result Execution time Memory
331967 2020-11-30T21:10:56 Z pggp Comparing Plants (IOI20_plants) C++14
0 / 100
1 ms 364 KB
#include <bits/stdc++.h>

using namespace std;

int K;
vector < int > R;

void init(int k, vector < int > r){
	K = k;
	R = r;
}

int compare_plants(int x, int y){
	if(x > y){
		return 1;
	}
	if(y > x){
		return -1;
	}
	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 364 KB Output isn't correct
2 Halted 0 ms 0 KB -