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 listJan 24, 2024 10:55AnSaAnSaScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 10:555,27139,911,73014,883,0001,984,0002,506,752
2Jan 24, 2024 10:555,27432,135,44614,891,0001,985,0002,281,472
3Jan 24, 2024 10:555,27441,672,15314,892,0001,985,0002,387,968
4Jan 24, 2024 10:555,27534,122,67915,887,000992,0002,277,376
5Jan 24, 2024 10:555,27742,649,01214,899,0001,986,0002,400,256
6Jan 24, 2024 10:555,27835,450,42215,898,000993,0002,281,472
7Jan 24, 2024 10:555,27942,943,04314,906,0001,987,0002,396,160
8Jan 24, 2024 10:555,28136,610,62415,906,000994,0002,281,472
9Jan 24, 2024 10:555,31645,645,30816,010,0001,000,0002,281,472
10Jan 24, 2024 10:555,47595,412,88217,519,46302,281,472
11Jan 24, 2024 10:555,479100,775,49217,531,76502,293,760
12Jan 24, 2024 10:555,50489,038,73817,611,86502,289,664