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 21, 2025 17:17ndrenndrenScore: 23,581Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2025 17:1723,07998,603,52059,880,00013,972,0002,482,176
2Dec 21, 2025 17:1723,190104,623,53549,137,00025,070,0002,289,664
3Dec 21, 2025 17:1723,241101,314,12050,251,00024,120,0002,482,176
4Dec 21, 2025 17:1723,29295,868,18351,368,00023,166,0002,486,272
5Dec 21, 2025 17:1723,337102,704,97650,458,00024,220,0002,478,080
6Dec 21, 2025 17:1723,38497,582,52447,891,00026,939,0002,277,376
7Dec 21, 2025 17:1723,58198,940,62846,282,00029,178,0002,281,472
8Dec 21, 2025 17:1723,81399,766,21944,117,00032,085,0002,269,184
9Dec 21, 2025 17:1723,949103,265,28348,403,00028,235,0002,289,664
10Dec 21, 2025 17:1732,313127,180,39767,260,00036,140,0002,265,088
11Dec 21, 2025 17:1732,508129,951,91660,015,00044,011,0002,277,376
12Dec 21, 2025 17:1732,654131,997,41464,303,00040,189,0002,277,376