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 28, 2024 08:37BenBenScore: 4,656Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:374,64140,954,92512,872,0001,980,0002,523,136
2Jul 28, 2024 08:374,64640,718,55814,867,00002,265,088
3Jul 28, 2024 08:374,64731,803,25513,880,000991,0002,265,088
4Jul 28, 2024 08:374,64930,910,47513,885,000991,0002,383,872
5Jul 28, 2024 08:374,65433,150,29212,907,0001,985,0002,265,088
6Jul 28, 2024 08:374,65629,498,66913,906,000993,0002,265,088
7Jul 28, 2024 08:374,65631,228,87113,906,000993,0002,265,088
8Jul 28, 2024 08:374,66134,508,69113,851,0001,065,0002,527,232
9Jul 28, 2024 08:374,66531,498,28113,934,000995,0002,265,088
10Jul 28, 2024 08:374,83493,422,92915,467,76602,277,376
11Jul 28, 2024 08:374,85280,763,00515,527,43902,277,376
12Jul 28, 2024 08:374,86281,037,70215,559,06602,273,280