본문 바로가기

문제 추천

혹시 XOR 좋아하세요..?

1. https://www.acmicpc.net/problem/19245

 

19245번: XOR

The first line of input contains the number of test cases $z$ ($1 \leq z \leq 50$). The descriptions of the test cases follow, two lines per test case. The first line of every test case contains an integer $n$ ($1 \leq n \leq 10^5$) -- the size of the mult

www.acmicpc.net

XOR 을 좋아한다면 풀어보도록 하자! 참고로 XOR maximization 하는 법 알아야 풀 수 있다.

XOR maximization 을 모른다면

 

https://www.acmicpc.net/problem/11191

 

11191번: Xor Maximization

As you might have heard, Gunnar is an old and forgetful researcher. Most of his research is in security and he cares a bit too much about his own security, so for each website he has a different password. It would be very hard for him to remember all passw

www.acmicpc.net

이 문제를 먼저 풀어보도록 하자