Submission #1246065

#TimeUsernameProblemLanguageResultExecution timeMemory
1246065KALARRYHack (APIO25_hack)C++20
8 / 100
131 ms416 KiB
//chockolateman

#include "hack.h"
#include<bits/stdc++.h>
#include <vector>

using namespace std;

int hack(){
    std::vector<long long> temp;
    bool broke = false;
    int counter = 0;
    while(!broke)
    {
        temp.clear();
        counter++;
        temp.push_back(1);
        temp.push_back(1 + counter);
        if(collisions(temp))
            broke = true;
    }
    return counter;
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...