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 listFeb 19, 2024 07:25Huy Duc LeHuy Duc LeScore: 5,572Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 07:255,52943,529,95216,653,0001,040,0002,273,280
2Feb 19, 2024 07:255,53337,898,31417,704,00002,269,184
3Feb 19, 2024 07:255,53442,564,81116,669,0001,041,0002,289,664
4Feb 19, 2024 07:255,54348,012,96916,695,0001,043,0002,289,664
5Feb 19, 2024 07:255,55346,003,84016,724,0001,045,0002,289,664
6Feb 19, 2024 07:255,57134,949,54415,846,0001,980,0002,289,664
7Feb 19, 2024 07:255,57244,308,17915,850,0001,981,0002,277,376
8Feb 19, 2024 07:255,58346,850,12615,880,0001,985,0002,289,664
9Feb 19, 2024 07:255,58444,534,46615,885,0001,985,0002,289,664
10Feb 19, 2024 07:255,74986,835,09718,397,39102,183,168
11Feb 19, 2024 07:255,75880,090,02118,424,34502,301,952
12Feb 19, 2024 07:255,77093,064,83618,463,37702,183,168