Submission #41521

# Submission time Handle Problem Language Result Execution time Memory
41521 2018-02-18T10:10:04 Z pica4500 cmp (balkan11_cmp) C++
0 / 100
10000 ms 82424 KB
#include "cmp.h"

void remember(int n) {
	bit_set(n + 1);
}

int compare(int b) {
	b++;
	if (bit_get(b)) return 0;
	for (int i = 1; i < b; i++) if (bit_get(i)) return 1;
	return -1;
}
# Verdict Execution time Memory Grader output
1 Execution timed out 10083 ms 82424 KB Time limit exceeded