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 listDec 22, 2024 01:04KeKazartsevKeKazartsevScore: 18,110Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 01:0417,99984,004,38256,586,0001,010,0002,260,992
2Dec 22, 2024 01:0418,02484,720,16355,654,0002,023,0002,277,376
3Dec 22, 2024 01:0418,06282,937,67456,802,000996,0002,379,776
4Dec 22, 2024 01:0418,07084,063,90055,831,0001,993,0002,269,184
5Dec 22, 2024 01:0418,11082,516,71555,955,0001,998,0002,273,280
6Dec 22, 2024 01:0418,14185,518,61356,049,0002,001,0002,273,280
7Dec 22, 2024 01:0418,45384,826,56658,049,0001,000,0002,285,568
8Dec 22, 2024 01:0418,66283,728,52456,732,0002,985,0002,273,280
9Dec 22, 2024 01:0422,58294,118,84472,262,00002,265,088