| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1357956 | hq77 | 메시지 (IOI24_message) | C++20 | 245 ms | 792 KiB |
#include "message.h"
#include <bits/stdc++.h>
using namespace std;
#define pb push_back
void send_message(std::vector<bool> M, std::vector<bool> C) {
for(bool i:M){
std::vector<bool> A(31, i);
send_packet(A);
}
}
std::vector<bool> receive_message(std::vector<std::vector<bool>> R) {
vector<bool>ans;
for(int i=0;i<R.size();i++){
int sum=0;
for(int j:R[i]) sum+=j;
if(sum>=16)ans.pb(1);
else ans.pb(0);
}
return ans;
}
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
| # | 결과 | 실행 시간 | 메모리 | 채점기 출력 |
|---|---|---|---|---|
| 결과를 불러오는 중입니다… | ||||
