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:20Alexander MonakovAlexander MonakovScore: 4,654Success
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:204,59636,697,62714,706,00002,506,752
2Jan 22, 2024 09:204,60130,889,05814,723,00002,502,656
3Jan 22, 2024 09:204,64642,495,31014,866,00002,490,368
4Jan 22, 2024 09:204,65232,367,20413,893,000992,0002,277,376
5Jan 22, 2024 09:204,65345,468,33913,898,000992,0002,498,560
6Jan 22, 2024 09:204,65340,000,11213,898,000992,0002,498,560
7Jan 22, 2024 09:204,65434,173,84614,894,00002,277,376
8Jan 22, 2024 09:204,65548,247,54013,903,000993,0002,277,376
9Jan 22, 2024 09:204,66030,701,71213,917,000994,0002,277,376
10Jan 22, 2024 09:204,83277,396,94715,463,60902,240,512
11Jan 22, 2024 09:204,87081,405,90615,585,49202,240,512
12Jan 22, 2024 09:204,89487,914,72915,661,67102,248,704