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 listMay 8, 2024 21:53Joad NacerJoad NacerScore: 4,898Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 8, 2024 21:534,86838,636,80915,578,00002,289,664
2May 8, 2024 21:534,87430,640,13515,598,00002,289,664
3May 8, 2024 21:534,87833,244,87414,570,0001,040,0002,269,184
4May 8, 2024 21:534,88449,648,63014,587,0001,041,0002,289,664
5May 8, 2024 21:534,89450,599,95514,617,0001,044,0002,289,664
6May 8, 2024 21:534,89642,573,09215,668,00002,289,664
7May 8, 2024 21:534,89843,427,25814,628,0001,044,0002,289,664
8May 8, 2024 21:534,90242,975,77915,685,00002,289,664
9May 8, 2024 21:534,91632,598,72714,684,0001,048,0002,289,664
10May 8, 2024 21:535,11385,080,16216,363,10402,301,952
11May 8, 2024 21:535,13786,823,97416,438,63702,179,072
12May 8, 2024 21:535,15878,187,02216,505,34802,174,976