Submission #639274

# Submission time Handle Problem Language Result Execution time Memory
639274 2022-09-09T07:42:18 Z blue Peru (RMI20_peru) C++17
0 / 100
100 ms 262144 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'00;
    int a[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 Runtime error 100 ms 262144 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 100 ms 262144 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 100 ms 262144 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -