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 21, 2026 19:36JhnWJhnWScore: 5,018Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2026 19:374,95025,470,34014,816,0001,027,0002,113,536
2Jul 21, 2026 19:374,96725,531,69314,877,0001,018,0002,113,536
3Jul 21, 2026 19:374,97025,521,96014,877,0001,027,0002,113,536
4Jul 21, 2026 19:374,99730,130,61514,927,0001,066,0002,113,536
5Jul 21, 2026 19:375,01825,634,24114,992,0001,067,0002,113,536
6Jul 21, 2026 19:375,01825,673,66814,991,0001,068,0002,113,536
7Jul 21, 2026 19:375,34226,733,74016,028,0001,069,0002,113,536
8Jul 21, 2026 19:375,34226,738,79016,034,0001,061,0002,113,536
9Jul 21, 2026 19:375,37226,872,12616,103,0001,089,0002,113,536