제출 #1267521

#제출 시각아이디문제언어결과실행 시간메모리
1267521ti24dung_ntMemory (IOI10_memory)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define fi first
#define se second
#define file(name) if(fopen(name".inp", "r")) {freopen(name".inp", "r", stdin); freopen(name".out", "w", stdout);}

#include<grader.h>
#include<memory.h>

void play()
{
    int couple[25];
    for(int i = 0; i < 25; ++i) couple[i] = -1;

    for(int i = 1; i <= 50; ++i)
    {
        cout << faceup(i);
        cout.flush();

        char c;
        cin >> c;
        int base = int(c) - 65;
        if(couple[base] > -1)
        {
            cout << faceup(couple[base]) << "\n" << faceup(i);
        }
        else couple[base] = i;

        cout << "\n";
    }

}

컴파일 시 표준 에러 (stderr) 메시지

memory.cpp:9:9: fatal error: grader.h: No such file or directory
    9 | #include<grader.h>
      |         ^~~~~~~~~~
compilation terminated.