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 listJul 7, 2026 21:55IlyaIlyaScore: 4,801Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:564,77624,737,33414,278,0001,008,0002,113,536
2Jul 7, 2026 21:564,79024,811,90814,269,0001,059,0002,113,536
3Jul 7, 2026 21:564,79224,855,82514,276,0001,060,0002,113,536
4Jul 7, 2026 21:564,79924,860,53914,298,0001,061,0002,113,536
5Jul 7, 2026 21:564,80124,867,71514,291,0001,074,0002,117,632
6Jul 7, 2026 21:564,80524,889,98614,313,0001,066,0002,113,536
7Jul 7, 2026 21:564,80624,884,64614,318,0001,064,0002,113,536
8Jul 7, 2026 21:564,80824,877,89414,324,0001,062,0002,113,536
9Jul 7, 2026 21:564,81724,930,38714,329,0001,086,0002,117,632