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 02:31Joad NacerJoad NacerScore: 5,511Success
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 02:315,47940,126,99516,501,0001,031,0002,289,664
2Apr 17, 2024 02:315,49337,964,36116,545,0001,034,0002,285,568
3Apr 17, 2024 02:315,49441,394,77116,546,0001,034,0002,273,280
4Apr 17, 2024 02:315,49547,551,91116,551,0001,034,0002,289,664
5Apr 17, 2024 02:315,49645,208,34917,588,00002,273,280
6Apr 17, 2024 02:315,50847,405,12517,624,00002,289,664
7Apr 17, 2024 02:315,51148,636,40316,598,0001,037,0002,277,376
8Apr 17, 2024 02:315,52746,317,96817,687,00002,289,664
9Apr 17, 2024 02:315,57645,950,10715,862,0001,982,0002,281,472
10Apr 17, 2024 02:315,69893,897,38818,232,68302,179,072
11Apr 17, 2024 02:315,71691,107,77118,290,34802,301,952
12Apr 17, 2024 02:315,72761,099,65618,325,41502,301,952