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 22, 2024 12:44Huy Duc LeHuy Duc LeScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:445,57345,225,41715,852,0001,981,0002,527,232
2Feb 22, 2024 12:445,57946,640,34916,862,000991,0002,281,472
3Feb 22, 2024 12:445,58141,518,46216,810,0001,050,0002,269,184
4Feb 22, 2024 12:445,58346,287,51114,888,0002,977,0002,527,232
5Feb 22, 2024 12:445,58349,928,55815,881,0001,985,0002,269,184
6Feb 22, 2024 12:445,58645,229,83814,896,0002,979,0002,281,472
7Feb 22, 2024 12:445,58646,471,64816,882,000993,0002,281,472
8Feb 22, 2024 12:445,60041,898,02615,929,0001,991,0002,269,184
9Feb 22, 2024 12:445,61434,454,61115,970,0001,996,0002,527,232
10Feb 22, 2024 12:445,81276,240,08318,597,70002,306,048
11Feb 22, 2024 12:445,83984,820,37018,686,36502,289,664
12Feb 22, 2024 12:445,87882,679,99118,808,47402,301,952