Submission #783754

#TimeUsernameProblemLanguageResultExecution timeMemory
783754LyricallyScales (IOI15_scales)C++17
Compilation error
0 ms0 KiB
#include "scales.h" #include <bits/stdc++.h> using namespace std; void init(int T) { fprintf(stderr, "play genshin for %d times\n", T); } void orderCoins() { int ans[6]; for (int i = 0; i < 6; i++) ans[i] = _realC[i] + 1; answer(ans); }

Compilation message (stderr)

scales.cpp: In function 'void orderCoins()':
scales.cpp:9:42: error: '_realC' was not declared in this scope
    9 |     for (int i = 0; i < 6; i++) ans[i] = _realC[i] + 1;
      |                                          ^~~~~~