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 listNov 23, 2024 14:15MatthiasMatthiasScore: 4,965Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 14:164,90831,609,35115,706,00002,289,664
2Nov 23, 2024 14:154,91335,208,02514,675,0001,048,0002,289,664
3Nov 23, 2024 14:164,95742,107,23714,871,000991,0002,269,184
4Nov 23, 2024 14:164,95734,421,50614,870,000991,0002,289,664
5Nov 23, 2024 14:154,95950,601,42613,887,0001,983,0002,269,184
6Nov 23, 2024 14:164,96233,886,37015,878,00002,285,568
7Nov 23, 2024 14:164,96251,228,10413,894,0001,984,0002,289,664
8Nov 23, 2024 14:164,96338,885,48713,895,0001,985,0002,277,376
9Nov 23, 2024 14:164,96448,106,89914,894,000992,0002,289,664
10Nov 23, 2024 14:154,96542,055,19014,895,000993,0002,289,664
11Nov 23, 2024 14:154,96633,394,69513,905,0001,986,0002,265,088
12Nov 23, 2024 14:164,96641,891,40814,897,000993,0002,273,280
13Nov 23, 2024 14:154,96842,483,64913,911,0001,987,0002,285,568
14Nov 23, 2024 14:154,97434,882,04213,928,0001,989,0002,269,184
15Nov 23, 2024 14:154,98338,070,86413,951,0001,993,0002,273,280
16Nov 23, 2024 14:154,99641,668,48513,988,0001,998,0002,269,184
17Nov 23, 2024 14:155,04433,120,33014,124,0002,017,0002,289,664
18Nov 23, 2024 14:165,06343,797,22614,178,0002,025,0002,289,664