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 listJan 24, 2024 07:28AnSaAnSaScore: 5,969Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 24, 2024 07:285,93143,160,70116,981,0001,997,0002,396,160
2Jan 24, 2024 07:285,95045,737,85617,035,0002,004,0002,281,472
3Jan 24, 2024 07:285,95435,426,31517,048,0002,005,0002,281,472
4Jan 24, 2024 07:285,95588,089,40019,055,86802,285,568
5Jan 24, 2024 07:285,95637,016,45617,052,0002,006,0002,281,472
6Jan 24, 2024 07:285,96439,347,73718,082,0001,004,0002,281,472
7Jan 24, 2024 07:285,96940,832,71217,090,0002,010,0002,379,776
8Jan 24, 2024 07:285,97141,939,99917,097,0002,011,0002,281,472
9Jan 24, 2024 07:285,98340,861,28617,129,0002,015,0002,281,472
10Jan 24, 2024 07:285,98897,768,07919,162,82002,285,568
11Jan 24, 2024 07:285,99246,326,03817,156,0002,018,0002,510,848
12Jan 24, 2024 07:286,18474,537,88919,789,28202,289,664