Submission #1074068

#TimeUsernameProblemLanguageResultExecution timeMemory
1074068fv3Rarest Insects (IOI22_insects)C++17
Compilation error
0 ms0 KiB
#include "circuit.h" #include <bits/stdc++.h> using namespace std; typedef long long ll; vector<int> A; int N; void init(int N_, int M, vector<int> P, vector<int> A_) { N = N_; A = A_; } int count_ways(int L, int R) { L -= N; R -= N; int sum = 0; for (int i = L; i <= R; i++) { A[i] ^= 1; sum += A[i]; } return sum; } #include "grader.cpp"

Compilation message (stderr)

insects.cpp:1:10: fatal error: circuit.h: No such file or directory
    1 | #include "circuit.h"
      |          ^~~~~~~~~~~
compilation terminated.