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 listJun 17, 2023 21:53Ulyanov AlekseyUlyanov AlekseyScore: 5,798Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 21:535,74141,696,27917,352,0001,020,0002,289,664
2Jun 17, 2023 21:535,74233,771,21116,334,0002,041,0002,289,664
3Jun 17, 2023 21:535,74645,096,95217,366,0001,021,0002,289,664
4Jun 17, 2023 21:535,76246,608,99317,414,0001,024,0002,289,664
5Jun 17, 2023 21:535,77941,272,14617,466,0001,027,0002,289,664
6Jun 17, 2023 21:535,78444,828,66517,480,0001,028,0002,273,280
7Jun 17, 2023 21:535,79840,475,92917,524,0001,030,0002,277,376
8Jun 17, 2023 21:535,80440,610,15017,542,0001,031,0002,277,376
9Jun 17, 2023 21:535,81345,103,87817,569,0001,033,0002,281,472
10Jun 17, 2023 21:535,88877,793,52818,840,07602,293,760
11Jun 17, 2023 21:535,90182,540,08118,884,55702,301,952
12Jun 17, 2023 21:536,02393,440,71619,273,70702,301,952