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 listSep 22, 2024 21:53MaxMaxScore: 45,813Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 22, 2024 21:5345,793173,796,244146,538,00002,523,136
2Sep 22, 2024 21:5345,798167,464,986146,553,00002,269,184
3Sep 22, 2024 21:5345,809174,738,055145,584,0001,004,0002,289,664
4Sep 22, 2024 21:5345,810171,825,301145,589,0001,004,0002,265,088
5Sep 22, 2024 21:5345,813176,981,027144,606,0001,994,0002,269,184
6Sep 22, 2024 21:5345,821175,057,512145,623,0001,004,0002,523,136
7Sep 22, 2024 21:5345,827177,469,465145,643,0001,004,0002,531,328
8Sep 22, 2024 21:5345,880175,811,287144,820,0001,997,0002,289,664
9Sep 22, 2024 21:5345,882173,253,209144,826,0001,997,0002,289,664