제출 #697633

#제출 시각아이디문제언어결과실행 시간메모리
697633europiumMemory (IOI10_memory)C++17
0 / 100
1 ms208 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> void play() { char a, b; int c[50][2]; for (int i = 0; i < 50; i++){ c[i][0] = 0; c[i][1] = 0; } for (int i = 1; i <= 50; i += 2){ a = faceup(i), b = faceup(i + 1); c[a - 'A'][0] == 0 ? c[a - 'A'][0] = i : c[a - 'A'][1] = i; c[b - 'A'][0] == 0 ? c[b - 'A'][0] = i + 1 : c[b - 'A'][1] = i + 1; // cout << a << ' ' << b << '\n'; // cout << c[a - 'A'][0] << ' ' << c[a - 'A'][1] << '\n'; } for (int i = 0; i < 50; i++){ a = faceup(c[i][0]); b = faceup(c[i][1]); // cout << a << ' ' << b << '\n'; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...