Submission #639272

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

using vi = vector<int>;

int solve(int n, int k, int* v)
{
    int a[2'500'000'0];
    for(int i = 0; i < 2'500'000'0; i++)
        a[i] = i;
    return 0;
}

Compilation message

peru.cpp: In function 'int solve(int, int, int*)':
peru.cpp:9:9: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    9 |     int a[2'500'000'0];
      |         ^
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 340 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 340 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 340 KB Output isn't correct
2 Halted 0 ms 0 KB -