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:14jhallgreenjhallgreenScore: 5,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 21, 2025 17:134,75031,482,80914,188,0001,013,0002,523,136
2Dec 21, 2025 17:134,75241,231,74514,193,0001,013,0002,523,136
3Dec 21, 2025 17:134,77240,617,99314,253,0001,018,0002,523,136
4Dec 21, 2025 17:144,80248,347,69914,342,0001,024,0002,367,488
5Dec 21, 2025 17:144,80632,084,13315,380,00002,523,136
6Dec 21, 2025 17:144,84248,273,71014,525,000968,0002,383,872
7Dec 21, 2025 17:125,12533,668,38415,376,0001,025,0002,392,064
8Dec 21, 2025 17:125,13242,694,95815,395,0001,026,0002,260,992
9Dec 21, 2025 17:145,16138,596,10615,482,0001,032,0002,260,992
10Dec 21, 2025 17:145,16636,726,67015,497,0001,033,0002,260,992
11Dec 21, 2025 17:125,18534,172,05116,592,00002,523,136
12Dec 21, 2025 17:145,19643,222,32115,587,0001,039,0002,260,992
13Dec 21, 2025 17:145,21841,729,22216,698,00002,383,872
14Dec 21, 2025 17:145,27346,650,00615,880,000992,0002,523,136
15Dec 21, 2025 17:145,27846,243,96215,897,000993,0002,383,872