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 17, 2024 19:41Matvey BunosMatvey BunosScore: 5,910Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 19:415,83951,664,99517,648,0001,038,0002,277,376
2Sep 17, 2024 19:415,89845,363,25516,887,0001,986,0002,281,472
3Sep 17, 2024 19:415,90045,931,96115,899,0002,981,0002,269,184
4Sep 17, 2024 19:415,90145,351,09416,896,0001,987,0002,281,472
5Sep 17, 2024 19:415,91045,608,82516,812,0002,101,0002,265,088
6Sep 17, 2024 19:415,91344,865,28916,929,0001,991,0002,375,680
7Sep 17, 2024 19:415,92343,426,91115,961,0002,992,0002,273,280
8Sep 17, 2024 19:415,93343,236,82716,986,0001,998,0002,277,376
9Sep 17, 2024 19:415,94046,283,23118,007,0001,000,0002,277,376