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 24, 2025 21:09lukostlukostScore: 5,136Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 21:095,11530,624,54815,346,0001,023,0002,449,408
2Apr 24, 2025 21:095,11640,065,66915,347,0001,023,0002,453,504
3Apr 24, 2025 21:095,12841,310,18815,384,0001,025,0002,539,520
4Apr 24, 2025 21:095,13335,959,94915,401,0001,026,0002,441,216
5Apr 24, 2025 21:095,13644,711,53115,409,0001,027,0002,445,312
6Apr 24, 2025 21:095,13936,190,36615,418,0001,027,0002,449,408
7Apr 24, 2025 21:095,15544,889,55915,466,0001,031,0002,539,520
8Apr 24, 2025 21:095,16130,983,54515,482,0001,032,0002,539,520
9Apr 24, 2025 21:095,16339,710,63115,489,0001,032,0002,539,520