제출 #1367986

#제출 시각아이디문제언어결과실행 시간메모리
1367986FaresSTH메시지 (IOI24_message)C++20
10 / 100
254 ms832 KiB
#include"bits/stdc++.h"
#include"message.h"
using namespace std;
using ll=long long;
#define S second
#define F first
void send_message(std::vector<bool> m, std::vector<bool> c){
	vector<bool>z(31,0),o(31,1);
	for(bool i:m)send_packet(i?o:z);
}
std::vector<bool> receive_message(std::vector<std::vector<bool>> r){
	vector<bool>res;
	for(auto i:r)res.push_back(accumulate(i.begin(),i.end(),0)>=16?1:0);
	return res;
}
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…
#결과 실행 시간메모리채점기 출력
결과를 불러오는 중입니다…