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 listFeb 28, 2024 04:58Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:585,48062,497,01017,534,74402,174,976
2Feb 28, 2024 04:585,48567,102,76917,551,81102,301,952
3Feb 28, 2024 04:585,488109,001,58317,562,05102,301,952
4Feb 28, 2024 04:585,58334,250,00815,881,0001,985,0002,408,448
5Feb 28, 2024 04:585,58748,728,42416,884,000993,0002,396,160
6Feb 28, 2024 04:585,58742,073,03915,891,0001,986,0002,519,040
7Feb 28, 2024 04:585,58842,765,83116,889,000993,0002,404,352
8Feb 28, 2024 04:585,59248,660,15015,907,0001,988,0002,404,352
9Feb 28, 2024 04:585,60041,765,72715,929,0001,991,0002,281,472
10Feb 28, 2024 04:585,60942,272,61416,952,000997,0002,281,472
11Feb 28, 2024 04:585,61040,888,93316,956,000997,0002,281,472
12Feb 28, 2024 04:585,61645,986,53615,975,0001,996,0002,404,352