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 listJul 22, 2022 22:42Robert BurkeRobert BurkeScore: 4,724Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:424,68235,956,50312,985,0001,997,0002,449,408
2Jul 22, 2022 22:424,70033,436,26813,034,0002,005,0002,445,312
3Jul 22, 2022 22:424,70333,151,15913,045,0002,006,0002,445,312
4Jul 22, 2022 22:424,70630,462,54014,056,0001,004,0002,281,472
5Jul 22, 2022 22:424,71333,076,15513,072,0002,011,0002,277,376
6Jul 22, 2022 22:424,71531,296,90613,076,0002,011,0002,449,408
7Jul 22, 2022 22:424,72431,253,59013,101,0002,015,0002,453,504
8Jul 22, 2022 22:424,73732,117,14613,136,0002,021,0002,457,600
9Jul 22, 2022 22:424,75739,236,96213,194,0002,029,0002,535,424
10Jul 22, 2022 22:424,88771,947,82815,638,57002,203,648
11Jul 22, 2022 22:424,90958,708,00815,708,71602,211,840
12Jul 22, 2022 22:424,92777,041,61315,766,76002,203,648