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 17:01lukostlukostScore: 25,452Success
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 17:0125,372103,999,52158,136,00023,054,0002,469,888
2Apr 24, 2025 17:0125,396104,761,74360,198,00021,069,0002,285,568
3Apr 24, 2025 17:0125,437103,977,27964,315,00017,083,0002,277,376
4Apr 24, 2025 17:0125,444103,101,25161,317,00020,104,0002,285,568
5Apr 24, 2025 17:0125,452101,182,68455,304,00026,143,0002,461,696
6Apr 24, 2025 17:0125,485102,689,03737,252,00044,300,0002,478,080
7Apr 24, 2025 17:0125,499109,712,33047,347,00034,251,0002,285,568
8Apr 24, 2025 17:0125,524106,972,43455,460,00026,217,0002,461,696
9Apr 24, 2025 17:0125,575107,255,72154,892,00026,947,0002,285,568