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:44Joad NacerJoad NacerScore: 5,304Success
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:445,26842,704,90114,876,0001,983,0002,289,664
2Apr 17, 2024 03:445,27047,882,67416,865,00002,289,664
3Apr 17, 2024 03:445,27633,535,31814,897,0001,986,0002,273,280
4Apr 17, 2024 03:445,28443,024,58515,915,000994,0002,289,664
5Apr 17, 2024 03:445,28838,308,51615,865,0001,057,0002,265,088
6Apr 17, 2024 03:445,29338,072,99314,947,0001,992,0002,289,664
7Apr 17, 2024 03:445,30449,587,34514,977,0001,997,0002,285,568
8Apr 17, 2024 03:445,31546,685,70815,008,0002,001,0002,289,664
9Apr 17, 2024 03:445,31844,481,58016,018,0001,001,0002,289,664
10Apr 17, 2024 03:445,49663,193,52417,585,93502,174,976
11Apr 17, 2024 03:445,51182,439,37517,634,86902,306,048
12Apr 17, 2024 03:445,52075,965,45817,665,20202,179,072