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 23, 2024 15:34Gokberk YaltirakliGokberk YaltirakliScore: 5,740Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 15:345,66535,493,64617,122,0001,007,0002,527,232
2Jan 23, 2024 15:345,67643,725,51116,145,0002,018,0002,289,664
3Jan 23, 2024 15:345,70342,559,12116,222,0002,027,0002,289,664
4Jan 23, 2024 15:345,71937,110,31117,286,0001,016,0002,289,664
5Jan 23, 2024 15:345,72441,709,77616,282,0002,035,0002,527,232
6Jan 23, 2024 15:345,72739,909,16916,289,0002,036,0002,281,472
7Jan 23, 2024 15:345,74044,554,33418,367,00002,289,664
8Jan 23, 2024 15:345,75440,323,67417,391,0001,023,0002,289,664
9Jan 23, 2024 15:345,79035,887,13918,529,00002,293,760
10Jan 23, 2024 15:345,94266,576,41819,013,67202,174,976
11Jan 23, 2024 15:346,13092,053,84619,615,02202,306,048
12Jan 23, 2024 15:346,16279,747,53419,717,37402,293,760