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 17, 2024 03:52Joad NacerJoad NacerScore: 5,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 03:525,27041,741,91515,872,000992,0002,289,664
2Apr 17, 2024 03:525,27232,924,39815,879,000992,0002,281,472
3Apr 17, 2024 03:525,27344,362,52414,887,0001,985,0002,269,184
4Apr 17, 2024 03:525,27534,960,59014,894,0001,985,0002,273,280
5Apr 17, 2024 03:525,28349,121,78616,907,00002,523,136
6Apr 17, 2024 03:525,28541,831,04215,856,0001,057,0002,289,664
7Apr 17, 2024 03:525,28835,021,20915,866,0001,057,0002,289,664
8Apr 17, 2024 03:525,29344,142,81914,945,0001,992,0002,273,280
9Apr 17, 2024 03:525,33038,593,24115,050,0002,006,0002,285,568
10Apr 17, 2024 03:525,49068,759,83117,568,18902,174,976
11Apr 17, 2024 03:525,50587,841,75317,615,95202,297,856
12Apr 17, 2024 03:525,52780,525,09217,685,45502,293,760