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:15Alexander MonakovAlexander MonakovScore: 4,865Success
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:154,84336,108,47015,498,00002,277,376
2Jan 22, 2024 09:154,84730,937,06515,510,00002,502,656
3Jan 22, 2024 09:154,84836,034,91315,512,00002,498,560
4Jan 22, 2024 09:154,85331,944,07615,531,00002,277,376
5Jan 22, 2024 09:154,85929,356,24215,548,00002,277,376
6Jan 22, 2024 09:154,86031,545,74515,551,00002,494,464
7Jan 22, 2024 09:154,86535,066,31615,567,00002,498,560
8Jan 22, 2024 09:154,87236,142,17915,589,00002,490,368
9Jan 22, 2024 09:154,90535,810,45215,695,00002,277,376
10Jan 22, 2024 09:155,11197,500,52616,354,86602,244,608
11Jan 22, 2024 09:155,13279,075,39616,422,47202,236,416
12Jan 22, 2024 09:155,14079,225,17816,449,32002,236,416