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:27AnSaAnSaScore: 5,019Success
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:274,95643,921,14113,877,0001,982,0002,269,184
2Jun 30, 2024 10:274,98032,985,20813,945,0001,992,0002,273,280
3Jun 30, 2024 10:274,98234,392,29614,947,000996,0002,289,664
4Jun 30, 2024 10:274,99331,902,41813,981,0001,997,0002,285,568
5Jun 30, 2024 10:275,00134,443,48314,003,0002,000,0002,289,664
6Jun 30, 2024 10:275,01940,746,57815,057,0001,003,0002,367,488
7Jun 30, 2024 10:275,01939,537,38214,054,0002,007,0002,289,664
8Jun 30, 2024 10:275,02734,699,75515,080,0001,005,0002,523,136
9Jun 30, 2024 10:275,04436,716,07114,123,0002,017,0002,265,088
10Jun 30, 2024 10:275,23082,499,35216,735,34402,289,664
11Jun 30, 2024 10:275,27872,746,86116,888,64002,293,760
12Jun 30, 2024 10:275,30881,266,20116,985,96202,293,760