Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listSep 28, 2026 14:17NicoNicoScore: 5,782Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History
DateChallengerCostTypeStatus
Oct 5, 2026 18:08Andrew Epstein10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2026 14:175,76128,877,35617,381,0001,056,0002,113,536
2Sep 28, 2026 14:175,76429,683,96317,119,0001,328,0002,113,536
3Sep 28, 2026 14:175,76828,912,52417,214,0001,245,0002,113,536
4Sep 28, 2026 14:175,78129,635,23717,198,0001,303,0002,113,536
5Sep 28, 2026 14:175,78229,764,77117,200,0001,303,0002,113,536
6Sep 28, 2026 14:175,79029,691,95517,224,0001,306,0002,113,536
7Sep 28, 2026 14:175,79828,996,10017,500,0001,054,0002,113,536
8Sep 28, 2026 14:175,81329,736,02017,275,0001,327,0002,113,536
9Sep 28, 2026 14:175,81329,738,15117,290,0001,312,0002,113,536