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:18Alexander MonakovAlexander MonakovScore: 4,871Success
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:184,82831,852,49215,451,00002,277,376
2Jan 22, 2024 09:184,83342,360,02515,465,00002,502,656
3Jan 22, 2024 09:184,84037,499,32615,489,00002,277,376
4Jan 22, 2024 09:184,84444,458,41015,501,00002,277,376
5Jan 22, 2024 09:184,85727,623,98915,542,00002,273,280
6Jan 22, 2024 09:184,85940,613,12715,550,00002,277,376
7Jan 22, 2024 09:184,87138,079,98814,547,0001,039,0002,498,560
8Jan 22, 2024 09:184,87440,098,28915,598,00002,502,656
9Jan 22, 2024 09:184,88133,969,02915,619,00002,498,560
10Jan 22, 2024 09:185,09562,896,07816,303,85302,248,704
11Jan 22, 2024 09:185,11077,192,78216,350,91902,244,608
12Jan 22, 2024 09:185,12272,752,85316,389,39302,240,512