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, 2024 09:33LaihoLaihoScore: 13,450Success
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, 2024 09:3313,31582,558,48110,145,00032,464,0002,367,488
2Dec 21, 2024 09:3313,38669,583,06010,957,00031,877,0002,363,392
3Dec 21, 2024 09:3313,39167,137,62510,962,00031,890,0002,371,584
4Dec 21, 2024 09:3313,42669,272,52513,988,00028,975,0002,285,568
5Dec 21, 2024 09:3313,45065,396,92511,010,00032,031,0002,375,680
6Dec 21, 2024 09:3313,45163,287,50017,017,00026,026,0002,285,568
7Dec 21, 2024 09:3313,46066,908,51413,021,00030,050,0002,375,680
8Dec 21, 2024 09:3313,47371,422,61612,031,00031,081,0002,285,568
9Dec 21, 2024 09:3314,19273,680,34213,119,00032,294,0002,359,296