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:19Joad NacerJoad NacerScore: 5,398Success
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:195,35838,470,33015,130,0002,017,0002,289,664
2Apr 17, 2024 03:195,35941,165,66215,131,0002,017,0002,269,184
3Apr 17, 2024 03:195,36039,666,70915,134,0002,017,0002,265,088
4Apr 17, 2024 03:195,37740,440,49115,181,0002,024,0002,289,664
5Apr 17, 2024 03:195,38632,857,69715,209,0002,027,0002,289,664
6Apr 17, 2024 03:195,38735,191,08915,211,0002,028,0002,523,136
7Apr 17, 2024 03:195,39836,341,27615,242,0002,032,0002,289,664
8Apr 17, 2024 03:195,40246,409,12615,254,0002,033,0002,265,088
9Apr 17, 2024 03:195,41640,468,30715,292,0002,038,0002,289,664
10Apr 17, 2024 03:195,59764,851,34917,909,47702,301,952
11Apr 17, 2024 03:195,63282,646,83818,021,66702,301,952
12Apr 17, 2024 03:195,65660,170,25418,099,54402,306,048