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 listJun 8, 2024 21:05AndreyTSAndreyTSScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 21:055,27942,919,23015,900,000993,0002,265,088
2Jun 8, 2024 21:055,28332,910,33014,917,0001,988,0002,273,280
3Jun 8, 2024 21:055,28346,175,81615,849,0001,056,0002,289,664
4Jun 8, 2024 21:055,28442,831,33014,919,0001,989,0002,289,664
5Jun 8, 2024 21:055,28843,292,60015,864,0001,057,0002,265,088
6Jun 8, 2024 21:055,28834,924,03515,864,0001,057,0002,289,664
7Jun 8, 2024 21:055,30443,162,11314,977,0001,996,0002,285,568
8Jun 8, 2024 21:055,30636,976,12314,982,0001,997,0002,273,280
9Jun 8, 2024 21:055,32844,999,38216,047,0001,002,0002,289,664
10Jun 8, 2024 21:055,48070,217,60917,536,12902,301,952
11Jun 8, 2024 21:055,48783,480,44617,557,80102,301,952
12Jun 8, 2024 21:055,53980,747,40117,724,53202,179,072