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 listMar 24, 2024 19:45IhebIhebScore: 5,340Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2024 19:455,28241,407,15414,915,0001,988,0002,392,064
2Mar 24, 2024 19:455,30142,047,08614,967,0001,995,0002,392,064
3Mar 24, 2024 19:455,30542,693,81415,978,000998,0002,265,088
4Mar 24, 2024 19:455,31041,671,22314,994,0001,999,0002,265,088
5Mar 24, 2024 19:455,31348,024,34816,001,0001,000,0002,387,968
6Mar 24, 2024 19:455,33242,218,96716,059,0001,003,0002,265,088
7Mar 24, 2024 19:455,34032,028,69515,077,0002,010,0002,265,088
8Mar 24, 2024 19:455,35042,729,90115,105,0002,014,0002,527,232
9Mar 24, 2024 19:455,35745,130,32115,127,0002,016,0002,387,968
10Mar 24, 2024 19:455,52695,868,37417,681,63402,285,568
11Mar 24, 2024 19:455,54691,419,84917,746,28702,277,376
12Mar 24, 2024 19:455,57094,207,17317,824,30902,289,664