Submission #201890

# Submission time Handle Problem Language Result Execution time Memory
201890 2020-02-12T17:50:51 Z Leonardo_Paes Memory (IOI10_memory) C++17
0 / 100
6 ms 504 KB
#include <bits/stdc++.h>
#include "grader.h"
#include "memory.h"

void play() {
    std::vector<int> p[25];
    int i=1, j=50, a;
    while(i<j){
        a = faceup(i) - 'A';
        p[a].push_back(i);
        a = faceup(j) - 'A';
        p[a].push_back(j);
        i++, j--;
    }
    for(int i=0; i<26; i++){
        faceup(p[i][0]); faceup(p[i][1]);
    }
}
# Verdict Execution time Memory Grader output
1 Runtime error 6 ms 504 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 5 ms 380 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -