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 22:37NicoNicoScore: 4,500Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Oct 5, 2026 17:59Andrew Epstein10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 28, 2026 22:374,46023,786,84314,272,00002,113,536
2Sep 28, 2026 22:374,47923,269,85514,334,00002,113,536
3Sep 28, 2026 22:374,48123,261,17014,342,00002,113,536
4Sep 28, 2026 22:374,48323,240,88414,347,00002,113,536
5Sep 28, 2026 22:374,50023,318,19314,401,00002,113,536
6Sep 28, 2026 22:374,51523,331,14414,449,00002,113,536
7Sep 28, 2026 22:374,52223,406,02314,473,00002,113,536
8Sep 28, 2026 22:374,53123,486,58614,501,00002,113,536
9Sep 28, 2026 22:374,54723,565,44014,551,00002,113,536