Submission #899564

# Submission time Handle Problem Language Result Execution time Memory
899564 2024-01-06T13:07:35 Z Szil Longest Trip (IOI23_longesttrip) C++17
0 / 100
1000 ms 2097152 KB
#include <bits/stdc++.h>

using namespace std;

// bool are_connected(int[] A, int[] B);

int* longest_trip(int N, int D) {
    assert(D == 3);
    int *ans = new int[N];
    for (int i = 0; i < N; i++) ans[i] = i;
    return ans;
}
# Verdict Execution time Memory Grader output
1 Runtime error 1 ms 344 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 2 ms 600 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Execution timed out 1344 ms 2097152 KB Time limit exceeded
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 2 ms 600 KB Execution killed with signal 6
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 856 ms 2097152 KB Execution killed with signal 9
2 Halted 0 ms 0 KB -