Submission #639276

# Submission time Handle Problem Language Result Execution time Memory
639276 2022-09-09T07:42:39 Z blue Peru (RMI20_peru) C++17
0 / 100
85 ms 98180 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;
    int* a = new int[z];
    for(int i = 0; i < z; i++)
        a[i] = 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 85 ms 98180 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 85 ms 98180 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 85 ms 98180 KB Output isn't correct
2 Halted 0 ms 0 KB -