#include "message.h"
#include <bits/stdc++.h>
#define R(a) for (int i = 0; i < a; ++i)
using namespace std;
void send_message(vector<bool> M, vector<bool> C) {
for (auto a : M) {
send_packet(vector<bool>(31, a));
}
}
vector<bool> receive_message(vector<vector<bool>> R) {
vector<bool> res;
for (auto& a : R) {
int tot = 0;
for (auto b : a) tot += b;
res.push_back(tot > 15);
}
return res;
}
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|
Fetching results... |