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 listJan 28, 2025 19:03etherealetherealScore: 6,114Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 28, 2025 19:036,07348,257,40318,413,0001,022,0002,400,256
2Jan 28, 2025 19:036,07941,119,09418,429,0001,023,0002,355,200
3Jan 28, 2025 19:036,08543,737,89318,448,0001,024,0002,355,200
4Jan 28, 2025 19:036,10640,975,10517,482,0002,056,0002,342,912
5Jan 28, 2025 19:036,11444,662,02619,566,00002,404,352
6Jan 28, 2025 19:036,12438,241,54918,567,0001,031,0002,355,200
7Jan 28, 2025 19:036,12650,491,16217,539,0002,063,0002,486,272
8Jan 28, 2025 19:036,13047,371,89118,585,0001,032,0002,359,296
9Jan 28, 2025 19:036,15955,783,76817,634,0002,074,0002,392,064