Submission #973060

# Submission time Handle Problem Language Result Execution time Memory
973060 2024-05-01T13:03:07 Z sleepntsheep CONSUL (info1cup19_consul) C++14
0 / 100
1 ms 344 KB
#include "grader.h"
#include <stdlib.h>
#include <time.h>

void solve(int n)
{
    srand(time(0));
    for(int i=0;i<25;++i)
    {
        int j=rand()%n+1,x;
        if (cnt(x=kth(j))>n/3)say_answer(x);
    }
    say_answer(-1);
}

# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Multiple answers provided for the same testcase!
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Multiple answers provided for the same testcase!
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Multiple answers provided for the same testcase!
2 Halted 0 ms 0 KB -