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 listOct 28, 2024 19:06ndrenndrenScore: 23,091Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:0623,033100,006,31845,434,00028,270,0002,289,664
2Oct 28, 2024 19:0623,07899,971,91147,903,00025,947,0002,289,664
3Oct 28, 2024 19:0623,08099,991,46547,907,00025,949,0002,482,176
4Oct 28, 2024 19:0623,080102,129,81143,915,00029,942,0002,289,664
5Oct 28, 2024 19:0623,09197,931,23851,923,00021,967,0002,469,888
6Oct 28, 2024 19:0623,113101,285,40051,973,00021,988,0002,281,472
7Oct 28, 2024 19:0623,12298,909,04248,993,00024,996,0002,281,472
8Oct 28, 2024 19:0623,147101,217,98950,047,00024,023,0002,281,472
9Oct 28, 2024 19:0623,20799,087,02250,177,00024,085,0002,478,080