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 listDec 23, 2024 21:19IhebIhebScore: 5,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 21:195,27345,685,77714,890,0001,985,0002,260,992
2Dec 23, 2024 21:195,27533,715,40214,894,0001,985,0002,392,064
3Dec 23, 2024 21:195,27943,329,89014,905,0001,987,0002,400,256
4Dec 23, 2024 21:195,29143,262,23714,939,0001,991,0002,260,992
5Dec 23, 2024 21:195,29646,144,56715,951,000996,0002,387,968
6Dec 23, 2024 21:195,29731,403,60214,956,0001,994,0002,396,160
7Dec 23, 2024 21:195,29944,514,17515,961,000997,0002,260,992
8Dec 23, 2024 21:195,30938,099,28414,992,0001,998,0002,400,256
9Dec 23, 2024 21:195,31736,576,80215,013,0002,001,0002,252,800