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 29, 2025 14:36Mark R BestMark R BestScore: 10,963Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 14:3610,80162,594,8226,099,00028,464,0002,289,664
2Dec 29, 2025 14:3610,82466,587,1786,112,00028,526,0002,289,664
3Dec 29, 2025 14:3610,89866,569,2526,974,00027,899,0002,289,664
4Dec 29, 2025 14:3610,95457,465,16110,015,00025,038,0002,285,568
5Dec 29, 2025 14:3610,96363,210,1552,004,00033,076,0002,310,144
6Dec 29, 2025 14:3611,00858,288,3616,039,00029,188,0002,310,144
7Dec 29, 2025 14:3611,11761,450,0628,131,00027,442,0002,289,664
8Dec 29, 2025 14:3611,22861,120,3627,984,00027,947,0002,289,664
9Dec 29, 2025 14:3611,24666,262,3619,996,00025,991,0002,301,952