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 19, 2025 04:57Ian MckibbenIan MckibbenScore: 4,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2025 04:574,47231,339,36414,310,00002,531,328
2Jan 19, 2025 04:574,47833,862,69113,307,0001,023,0002,424,832
3Jan 19, 2025 04:574,48237,831,83313,317,0001,024,0002,531,328
4Jan 19, 2025 04:574,49636,211,21814,386,00002,437,120
5Jan 19, 2025 04:574,50342,387,04713,379,0001,029,0002,424,832
6Jan 19, 2025 04:574,50931,036,58913,399,0001,030,0002,269,184
7Jan 19, 2025 04:574,51628,151,86914,452,00002,433,024
8Jan 19, 2025 04:574,52129,932,93714,468,00002,424,832
9Jan 19, 2025 04:574,52335,319,22613,439,0001,033,0002,269,184