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 listAug 3, 2024 05:13MylesMylesScore: 4,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:134,48230,028,35913,318,0001,024,0002,281,472
2Aug 3, 2024 05:134,48533,981,32813,326,0001,025,0002,535,424
3Aug 3, 2024 05:134,48730,062,92213,333,0001,025,0002,433,024
4Aug 3, 2024 05:134,49937,492,35014,398,00002,281,472
5Aug 3, 2024 05:134,49931,448,70813,370,0001,028,0002,445,312
6Aug 3, 2024 05:134,50629,455,92413,390,0001,030,0002,281,472
7Aug 3, 2024 05:134,51328,443,91013,409,0001,031,0002,449,408
8Aug 3, 2024 05:134,51434,540,85113,415,0001,031,0002,445,312
9Aug 3, 2024 05:134,53830,948,27913,483,0001,037,0002,277,376
10Aug 3, 2024 05:134,75475,297,79515,212,95002,211,840
11Aug 3, 2024 05:134,75692,595,76215,219,12202,211,840
12Aug 3, 2024 05:134,811106,460,82615,395,65102,199,552