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 listJan 22, 2024 09:19Alexander MonakovAlexander MonakovScore: 4,666Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:194,65230,072,04413,894,000992,0002,277,376
2Jan 22, 2024 09:194,65237,833,30412,902,0001,985,0002,277,376
3Jan 22, 2024 09:194,65327,253,59314,891,00002,277,376
4Jan 22, 2024 09:194,65729,213,62014,901,00002,277,376
5Jan 22, 2024 09:194,65834,507,44814,905,00002,498,560
6Jan 22, 2024 09:194,66130,459,59313,922,000994,0002,498,560
7Jan 22, 2024 09:194,66633,804,97913,935,000995,0002,502,656
8Jan 22, 2024 09:194,66830,278,43113,943,000995,0002,277,376
9Jan 22, 2024 09:194,68540,570,65113,994,000999,0002,498,560
10Jan 22, 2024 09:194,91186,855,01515,716,32802,260,992
11Jan 22, 2024 09:194,92176,780,09415,746,12202,248,704
12Jan 22, 2024 09:194,92580,957,34015,760,98202,240,512