제출 #1123039

#제출 시각아이디문제언어결과실행 시간메모리
1123039Mousa_Aboubaker메시지 (IOI24_message)C++20
10 / 100
522 ms872 KiB
#include "message.h" #include <bits/stdc++.h> using namespace std; void send_message(vector<bool> M, vector<bool> C) { for(auto i: M) send_packet(vector<bool>(31, i)); } vector<bool> receive_message(vector<vector<bool>> R) { vector<bool> res; for(auto i: R) { int cnt0 = 0; for(auto j: i) cnt0 += not j; if(cnt0 >= 16) res.push_back(false); else res.push_back(true); } return res; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...