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 12, 2024 23:27джулисджулисScore: 5,303Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:275,27135,952,69815,876,000992,0002,379,776
2Jun 12, 2024 23:275,27444,656,53514,891,0001,985,0002,285,568
3Jun 12, 2024 23:275,28145,237,19915,906,000994,0002,375,680
4Jun 12, 2024 23:275,28545,884,38815,918,000994,0002,375,680
5Jun 12, 2024 23:275,29348,761,93514,946,0001,992,0002,379,776
6Jun 12, 2024 23:275,29744,040,69314,956,0001,994,0002,293,760
7Jun 12, 2024 23:275,30333,224,32714,974,0001,996,0002,469,888
8Jun 12, 2024 23:275,30532,997,52915,979,000998,0002,367,488
9Jun 12, 2024 23:275,31831,594,91515,015,0002,002,0002,293,760
10Jun 12, 2024 23:275,50489,166,28517,612,93102,379,776
11Jun 12, 2024 23:275,51086,293,92017,631,49702,240,512
12Jun 12, 2024 23:275,55275,747,80117,767,68602,240,512