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 24, 2022 12:47Robert BurkeRobert BurkeScore: 4,516Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:474,49628,664,82013,360,0001,027,0002,277,376
2Jul 24, 2022 12:474,50530,478,31713,388,0001,029,0002,449,408
3Jul 24, 2022 12:474,50835,262,56613,394,0001,030,0002,281,472
4Jul 24, 2022 12:474,51130,773,53813,404,0001,031,0002,445,312
5Jul 24, 2022 12:474,51243,226,62113,408,0001,031,0002,281,472
6Jul 24, 2022 12:474,51328,264,77113,410,0001,031,0002,453,504
7Jul 24, 2022 12:474,51632,635,86013,420,0001,032,0002,281,472
8Jul 24, 2022 12:474,52237,689,80113,436,0001,033,0002,281,472
9Jul 24, 2022 12:474,52834,499,84613,456,0001,035,0002,445,312
10Jul 24, 2022 12:474,73785,826,68415,159,86402,207,744
11Jul 24, 2022 12:474,74190,481,17915,172,30302,211,840
12Jul 24, 2022 12:474,82780,628,03815,444,97602,203,648