| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1348869 | ahmetlbktd4 | 메시지 (IOI24_message) | C++20 | 257 ms | 828 KiB |
#include "message.h"
#include "bits/stdc++.h"
using namespace std;
void send_message(vector <bool> m,vector <bool> c){
for (int i = 0;i < m.size();i++){
vector <bool> a(31,m[i]);
vector <bool> b = send_packet(a);
}
}
vector<bool> receive_message(vector<vector<bool>> r){
vector <bool> p;
for (auto v : r){
int l = 0,k = 0;
for (bool x : v){
if (!x)
l++;
else k++;
}
if (l > k)
p.push_back(0);
else p.push_back(1);
}
return p;
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
