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 listNov 4, 2023 13:11goon-goon-Score: 5,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 4, 2023 13:115,27347,033,95115,880,000992,0002,265,088
2Nov 4, 2023 13:115,27438,596,06014,893,0001,985,0002,392,064
3Nov 4, 2023 13:115,27641,389,80714,896,0001,986,0002,392,064
4Nov 4, 2023 13:115,27847,461,71316,888,00002,265,088
5Nov 4, 2023 13:115,28132,546,09014,910,0001,988,0002,387,968
6Nov 4, 2023 13:115,28842,051,93714,932,0001,990,0002,265,088
7Nov 4, 2023 13:115,29841,732,29214,960,0001,994,0002,265,088
8Nov 4, 2023 13:115,30150,287,45515,966,000997,0002,265,088
9Nov 4, 2023 13:115,31437,010,37315,006,0002,000,0002,265,088
10Nov 4, 2023 13:115,48492,592,70617,547,36602,281,472
11Nov 4, 2023 13:115,507104,986,16417,623,18002,273,280
12Nov 4, 2023 13:115,51992,915,92017,660,37702,285,568