Submission #639277

# Submission time Handle Problem Language Result Execution time Memory
639277 2022-09-09T07:43:04 Z blue Peru (RMI20_peru) C++17
0 / 100
158 ms 102836 KB
#include "peru.h"
#include <bits/stdc++.h>
using namespace std;

using vi = vector<int>;

int solve(int n, int k, int* v)
{
    int z = 2'500'000'0;
    deque<int> a;
    for(int i = 0; i < z; i++)
       a.push_back(i);
    int res = 0;
    for(int i = 0; i < z; i++)
        res = (res + a[i])%2;
    return res;
}
# Verdict Execution time Memory Grader output
1 Incorrect 158 ms 102836 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 158 ms 102836 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 158 ms 102836 KB Output isn't correct
2 Halted 0 ms 0 KB -