Submission #471126

# Submission time Handle Problem Language Result Execution time Memory
471126 2021-09-07T11:44:07 Z chointae cmp (balkan11_cmp) C++17
0 / 100
1127 ms 65912 KB
#include "cmp.h"

int A;

void remember(int n) {
  //edit this
	A = n;
  	//bit_set(n);
}

int compare(int b) {
  //edit this
  //return bit_get(13);
	if (b < A) return -1;
	else if (b > A) return 1;
	else return 0;
}

# Verdict Execution time Memory Grader output
1 Incorrect 1127 ms 65912 KB ZERO POINTS: For a=3040 and b=3318, correct answer is 1, got -1