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 listSep 23, 2024 07:56Павел РатмановПавел РатмановScore: 16,919Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 23, 2024 07:5714,82174,229,79625,227,00022,200,0002,449,408
2Sep 23, 2024 07:5714,85871,165,00322,256,00025,291,0002,445,312
3Sep 23, 2024 07:5714,86875,034,08222,270,00025,307,0002,445,312
4Sep 23, 2024 07:5714,89575,362,21517,240,00030,424,0002,449,408
5Sep 23, 2024 07:5714,95175,715,98120,932,00026,912,0002,445,312
6Sep 23, 2024 07:5714,96079,731,00720,944,00026,928,0002,281,472
7Sep 23, 2024 07:5714,97475,045,02817,969,00029,949,0002,281,472
8Sep 23, 2024 07:5714,97876,713,20921,967,00025,961,0002,449,408
9Sep 23, 2024 07:5714,99875,563,43318,998,00028,997,0002,281,472
10Sep 23, 2024 07:5616,91976,734,65926,067,00028,073,0002,289,664
11Sep 23, 2024 07:5616,93176,773,95630,099,00024,079,0002,449,408
12Sep 23, 2024 07:5616,96582,987,65723,123,00031,166,0002,281,472
13Sep 23, 2024 07:5616,97777,313,04126,157,00028,169,0002,441,216
14Sep 23, 2024 07:5616,97881,429,03030,184,00024,147,0002,445,312
15Sep 23, 2024 07:5617,00276,067,49528,210,00026,195,0002,445,312
16Sep 23, 2024 07:5617,01882,588,18724,204,00030,255,0002,281,472
17Sep 23, 2024 07:5617,15880,751,83220,963,00033,941,0002,445,312
18Sep 23, 2024 07:5617,21978,403,86626,047,00029,053,0002,441,216