# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1221522 | nibert | Message (IOI24_message) | C++20 | 0 ms | 0 KiB |
#include <vector>
using namespace std;
// OJ will provide the implementation of this
extern vector<bool> send_packet(vector<bool> A);
// Constants
const int BITS = 31; // Packet length
const int REPEAT = 3; // Redundancy (must be ≥ 3 to tolerate 15 bad packets)
const int BITS_PER_PACKET = 10; // You can safely fit 10