Submission #569162

# Submission time Handle Problem Language Result Execution time Memory
569162 2022-05-26T20:37:38 Z four_specks cmp (balkan11_cmp) C++17
0 / 100
786 ms 65920 KB
#include "cmp.h"

int a;

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

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