Submission #1224135

#TimeUsernameProblemLanguageResultExecution timeMemory
1224135jalapen0p1ckle앵무새 (IOI11_parrots)C++20
Compilation error
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));
	}
}

Compilation message (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);
      |     ^~~~