제출 #1224135

#제출 시각아이디문제언어결과실행 시간메모리
1224135jalapen0p1ckleParrots (IOI11_parrots)C++20
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> void encode(int N, int M[]) { int i, t = 0; for(i=0; i<N; i++) if (M[i]) t ^= (1<<i); send(t); }
#include <bits/stdc++.h> void decode(int N, int L, int X[]) { int i, b = X[0]; for(i=0; i<8; i++) { output(b&(1<<i)); } }

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

# 1번째 컴파일 단계

encoder.cpp: In function 'void encode(int, int*)':
encoder.cpp:7:5: error: 'send' was not declared in this scope
    7 |     send(t);
      |     ^~~~