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 listAug 5, 2024 17:47Nao YonashiroNao YonashiroScore: 4,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2024 17:474,44039,869,10512,179,0002,029,0002,383,872
2Aug 5, 2024 17:474,46228,342,12013,259,0001,019,0002,527,232
3Aug 5, 2024 17:474,46437,675,69412,244,0002,040,0002,265,088
4Aug 5, 2024 17:474,46833,504,13013,276,0001,021,0002,383,872
5Aug 5, 2024 17:474,47931,520,49912,286,0002,047,0002,383,872
6Aug 5, 2024 17:474,48331,629,09913,321,0001,024,0002,387,968
7Aug 5, 2024 17:474,49932,541,14113,369,0001,028,0002,265,088
8Aug 5, 2024 17:474,50931,347,90713,399,0001,030,0002,265,088
9Aug 5, 2024 17:474,51536,417,44514,448,00002,265,088
10Aug 5, 2024 17:474,723102,557,37015,113,19102,277,376
11Aug 5, 2024 17:474,73588,363,91215,151,42402,281,472
12Aug 5, 2024 17:474,74368,094,62615,176,29202,281,472