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 5, 2025 07:06Rajarshi BasuRajarshi BasuScore: 37,132Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 5, 2025 07:0637,114139,774,977116,768,0001,996,0002,281,472
2Dec 5, 2025 07:0637,128147,829,257116,812,0001,996,0002,285,568
3Dec 5, 2025 07:0637,131141,349,098116,822,0001,996,0002,285,568
4Dec 5, 2025 07:0637,132144,729,398116,824,0001,997,0002,285,568
5Dec 5, 2025 07:0637,132145,646,935117,824,000998,0002,519,040
6Dec 5, 2025 07:0637,132145,678,295117,825,000998,0002,523,136
7Dec 5, 2025 07:0637,132150,303,026116,826,0001,997,0002,265,088
8Dec 5, 2025 07:0637,133148,460,838116,830,0001,997,0002,285,568
9Dec 5, 2025 07:0637,161144,641,662116,918,0001,998,0002,273,280