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 listApr 4, 2025 21:56Chandrasekaran AkashChandrasekaran AkashScore: 5,309Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 4, 2025 21:565,28440,725,06715,916,000994,0002,527,232
2Apr 4, 2025 21:565,28841,240,96316,921,00002,265,088
3Apr 4, 2025 21:565,30042,609,89915,963,000997,0002,527,232
4Apr 4, 2025 21:565,30049,387,58414,966,0001,995,0002,445,312
5Apr 4, 2025 21:565,30946,594,99615,990,000999,0002,441,216
6Apr 4, 2025 21:565,31340,675,76916,003,0001,000,0002,527,232
7Apr 4, 2025 21:565,31641,587,68115,010,0002,001,0002,527,232
8Apr 4, 2025 21:565,33043,146,32015,051,0002,006,0002,441,216
9Apr 4, 2025 21:565,35141,130,45715,110,0002,014,0002,441,216