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 5, 2024 23:29CountHarebourgCountHarebourgScore: 2,769,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 5, 2024 23:292,765,4448,875,140,9318,822,431,00026,989,0002,281,472
2Nov 5, 2024 23:292,766,4538,890,961,8018,820,662,00031,987,0002,289,664
3Nov 5, 2024 23:292,766,5198,884,796,8618,816,874,00035,987,0002,281,472
4Nov 5, 2024 23:292,768,7388,894,248,8958,833,974,00025,988,0002,281,472
5Nov 5, 2024 23:292,769,0618,891,746,2048,825,007,00035,987,0002,281,472
6Nov 5, 2024 23:292,769,4128,890,719,8718,831,128,00030,989,0002,293,760
7Nov 5, 2024 23:292,769,7528,892,715,6818,828,226,00034,981,0002,281,472
8Nov 5, 2024 23:292,836,0729,102,481,2749,038,450,00036,981,0002,281,472
9Nov 5, 2024 23:292,843,7629,132,634,5519,067,050,00032,989,0002,281,472