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 listJun 30, 2024 10:34AnSaAnSaScore: 5,773Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 10:345,69148,573,35417,200,0001,011,0002,289,664
2Jun 30, 2024 10:345,74141,254,36916,329,0002,041,0002,289,664
3Jun 30, 2024 10:345,74545,339,92917,362,0001,021,0002,289,664
4Jun 30, 2024 10:345,74544,688,93817,363,0001,021,0002,269,184
5Jun 30, 2024 10:345,75939,463,80616,381,0002,047,0002,387,968
6Jun 30, 2024 10:345,77142,884,32017,442,0001,026,0002,289,664
7Jun 30, 2024 10:345,77342,307,51817,446,0001,026,0002,519,040
8Jun 30, 2024 10:345,79842,287,98417,525,0001,030,0002,355,200
9Jun 30, 2024 10:345,81044,998,74317,560,0001,032,0002,265,088
10Jun 30, 2024 10:345,93795,860,40918,998,04002,285,568
11Jun 30, 2024 10:345,98288,260,69819,142,87002,281,472
12Jun 30, 2024 10:346,04297,872,26019,333,64202,293,760