Submission #201887

# Submission time Handle Problem Language Result Execution time Memory
201887 2020-02-12T17:48:15 Z Leonardo_Paes Memory (IOI10_memory) C++17
0 / 100
5 ms 376 KB
#include <bits/stdc++.h>
#include "grader.h"
#include "memory.h"

void play() {
    std::vector<int> p[26];
    int i=1, j=50, a;
    while(i<j){
        a = (int)faceup(i) - 'a';
        p[a].push_back(i);
        a = (int)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 5 ms 376 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 376 KB Execution killed with signal 11 (could be triggered by violating memory limits)
2 Halted 0 ms 0 KB -