이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#include <bits/stdc++.h>
using namespace std;
//#define int long long
#define pi pair<int, int>
#define pii pair<int, pi>
#define fi first
#define se second
#ifdef _WIN32
#define getchar_unlocked _getchar_nolock
#endif
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());
#include "encoder.h"
#include "encoderlib.h"
void encode(int N, int M[])
{
  if(N <= 32){
	  for(int i = 0; i < N; i++){
		  for(int j = 0; j < 8; j++){
			  if(M[i] >> j & 1){
				  send(i * 8 + j);
			  }
		  }
	  }
  }
}
#include <bits/stdc++.h>
using namespace std;
//#define int long long
#define pi pair<int, int>
#define pii pair<int, pi>
#define fi first
#define se second
#ifdef _WIN32
#define getchar_unlocked _getchar_nolock
#endif
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());
#include "decoder.h"
#include "decoderlib.h"
void decode(int N, int L, int X[])
{
	int ans[300] = {0};
  if(N <= 32){
	  for(int i = 0; i < L; i++){
		  int t = X[i] / 8, t1 = X[i] % 8;
		  ans[t] += (1<<t1);
	  }
	  for(int i = 0; i < N; i++)output(ans[i]);
  }
}
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... | 
| # | Verdict | Execution time | Memory | Grader output | 
|---|
| Fetching results... |