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 22, 2024 11:08matsuoka-601matsuoka-601Score: 5,511Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:085,47039,913,36117,505,00002,523,136
2Jan 22, 2024 11:085,47143,017,91916,477,0001,029,0002,273,280
3Jan 22, 2024 11:085,47944,356,90317,534,00002,285,568
4Jan 22, 2024 11:085,48034,607,64216,505,0001,031,0002,285,568
5Jan 22, 2024 11:085,48143,398,98016,509,0001,031,0002,285,568
6Jan 22, 2024 11:085,50642,995,19616,582,0001,036,0002,535,424
7Jan 22, 2024 11:085,51143,129,96516,598,0001,037,0002,285,568
8Jan 22, 2024 11:085,51241,342,27416,601,0001,037,0002,379,776
9Jan 22, 2024 11:085,51843,997,15616,618,0001,038,0002,269,184
10Jan 22, 2024 11:085,75476,412,10018,413,31002,301,952
11Jan 22, 2024 11:085,82262,585,69118,630,08502,310,144
12Jan 22, 2024 11:085,85186,159,73118,723,22502,301,952