Submission #569163

# Submission time Handle Problem Language Result Execution time Memory
569163 2022-05-26T20:39:23 Z four_specks cmp (balkan11_cmp) C++17
0 / 100
735 ms 65972 KB
#include "cmp.h"

int a;

void remember(int n)
{
    a = n;
}

int compare(int b)
{
    return b < a ? -1 : b == a ? 0
                               : 1;
}
# Verdict Execution time Memory Grader output
1 Incorrect 735 ms 65972 KB ZERO POINTS: For a=3040 and b=3318, correct answer is 1, got -1