Submission #608745

#TimeUsernameProblemLanguageResultExecution timeMemory
608745Duy_eMonster Game (JOI21_monster)C++17
0 / 100
205 ms280 KiB
#include "monster.h" using namespace std; namespace { bool example_variable; } // namespace const long long N = 2e5; int cnt[N]; std::vector<int> Solve(int n) { std::vector<int> T(n); for (int i = 0; i < n; i ++) { for (int j = 0; j < n; j ++) if (j != i) cnt[i] += Query(i, j); T[i] = cnt[i] - 1; } return T; }

Compilation message (stderr)

monster.cpp:7:6: warning: '{anonymous}::example_variable' defined but not used [-Wunused-variable]
    7 | bool example_variable;
      |      ^~~~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...