제출 #957317

#제출 시각아이디문제언어결과실행 시간메모리
957317hirayuu_ojMemory (IOI10_memory)C++17
100 / 100
1 ms604 KiB
#include<bits/stdc++.h> using namespace std; #define rep(i,n) for(int i=0; i<n; i++) #define rep2(i,a,b) for(int i=a; i<b; i++) #define all(x) x.begin(),x.end() using ll=long long; #include "grader.h" #include "memory.h" void play() { char a,b; vector<vector<ll>> cards(25); rep(i,25){ a=faceup(i*2+1); b=faceup(i*2+2); if(a!=b){ cards[a-'A'].push_back(i*2+1); cards[b-'A'].push_back(i*2+2); } } rep(i,25){ for(int j:cards[i]){ faceup(j); } } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...