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 listApr 5, 2025 19:57CountHarebourgCountHarebourgScore: 4,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 19:574,67233,900,10912,956,0001,993,0002,289,664
2Apr 5, 2025 19:574,67441,635,61112,964,0001,994,0002,269,184
3Apr 5, 2025 19:574,70136,714,59813,037,0002,005,0002,523,136
4Apr 5, 2025 19:574,72432,248,80713,101,0002,015,0002,273,280
5Apr 5, 2025 19:574,73739,193,77613,137,0002,021,0002,527,232
6Apr 5, 2025 19:574,74130,968,47213,149,0002,023,0002,289,664