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 listNov 29, 2024 16:12Joad NacerJoad NacerScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 16:194,42837,993,34912,145,0002,024,0002,433,024
2Nov 29, 2024 16:194,44634,675,90713,210,0001,016,0002,433,024
3Nov 29, 2024 16:124,44828,792,18012,200,0002,033,0002,433,024
4Nov 29, 2024 16:124,44833,684,78813,218,0001,016,0002,428,928
5Nov 29, 2024 16:124,45035,052,56612,205,0002,034,0002,424,832
6Nov 29, 2024 16:124,45131,141,28813,227,0001,017,0002,433,024
7Nov 29, 2024 16:124,46032,758,84913,254,0001,019,0002,428,928
8Nov 29, 2024 16:124,46137,044,50214,275,00002,531,328
9Nov 29, 2024 16:124,47129,900,30613,286,0001,022,0002,531,328
10Nov 29, 2024 16:124,47231,064,51913,289,0001,022,0002,531,328
11Nov 29, 2024 16:194,47229,726,46313,287,0001,022,0002,433,024
12Nov 29, 2024 16:124,51828,122,32614,456,00002,510,848