ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1960. Palindromes and Super Abilities

WA#2
Posted by Shervin 12 Feb 2015 02:50
What is test 2?
Re: WA#2
Posted by pmartynov 15 Apr 2015 18:11
I may be wrong but it might be something like this.

for (int i = 0; i < 1 << 16; i++)
    cout << (char)('a' + __builtin_popcount(i) % 2);

Edited by author 15.04.2015 18:12