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 19, 2024 07:30Huy Duc LeHuy Duc LeScore: 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 19, 2024 07:305,58248,742,24215,878,0001,984,0002,293,760
2Feb 19, 2024 07:305,58548,651,61715,887,0001,985,0002,293,760
3Feb 19, 2024 07:305,58643,566,08316,881,000993,0002,293,760
4Feb 19, 2024 07:305,58747,936,03716,885,000993,0002,527,232
5Feb 19, 2024 07:305,58749,673,11115,892,0001,986,0002,293,760
6Feb 19, 2024 07:305,58844,936,83415,894,0001,986,0002,293,760
7Feb 19, 2024 07:305,58842,505,74617,881,00002,277,376
8Feb 19, 2024 07:305,59344,446,67116,902,000994,0002,277,376
9Feb 19, 2024 07:305,59339,377,90417,897,00002,527,232
10Feb 19, 2024 07:305,76894,092,54818,458,78702,260,992
11Feb 19, 2024 07:305,78993,026,36718,526,06302,297,856
12Feb 19, 2024 07:305,80675,858,99818,578,21502,179,072