제출 #595413

#제출 시각아이디문제언어결과실행 시간메모리
595413skittles1412Memory (IOI10_memory)C++17
100 / 100
2 ms292 KiB
#include "bits/extc++.h"

using namespace std;

template <typename T>
void dbgh(const T& t) {
    cerr << t << endl;
}

template <typename T, typename... U>
void dbgh(const T& t, const U&... u) {
    cerr << t << " | ";
    dbgh(u...);
}

#ifdef DEBUG
#define dbg(...)                                              \
    cerr << "L" << __LINE__ << " [" << #__VA_ARGS__ << "]: "; \
    dbgh(__VA_ARGS__);
#else
#define dbg(...)
#define cerr   \
    if (false) \
    cerr
#endif

#define endl "\n"
#define long int64_t
#define sz(x) int((x).size())

char faceup(int C);

void play() {
    vector<int> arr[25];
    for (int i = 1; i <= 50; i++) {
        arr[faceup(i) - 'A'].push_back(i);
    }
    for (auto& a : arr) {
        faceup(a[0]);
        faceup(a[1]);
    }
}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...