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 listAug 4, 2024 00:37jeffplaisancejeffplaisanceScore: 4,414Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 00:374,39634,234,14813,064,0001,004,0002,494,464
2Aug 4, 2024 00:374,39831,282,27213,067,0001,005,0002,277,376
3Aug 4, 2024 00:374,40229,531,64613,079,0001,006,0002,498,560
4Aug 4, 2024 00:374,40233,818,95813,081,0001,006,0002,273,280
5Aug 4, 2024 00:374,40635,519,58813,093,0001,007,0002,502,656
6Aug 4, 2024 00:374,40830,180,41413,100,0001,007,0002,277,376
7Aug 4, 2024 00:374,41431,028,04313,117,0001,009,0002,535,424
8Aug 4, 2024 00:374,42035,230,07813,135,0001,010,0002,490,368
9Aug 4, 2024 00:374,43831,178,60413,187,0001,014,0002,277,376
10Aug 4, 2024 00:374,67898,520,70114,971,10002,248,704
11Aug 4, 2024 00:374,70586,172,36715,056,07702,240,512
12Aug 4, 2024 00:374,72093,106,18515,103,28102,248,704