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:09Robert BurkeRobert BurkeScore: 4,797Success
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:094,75430,802,84014,198,0001,014,0002,437,120
2Jul 22, 2022 22:094,75827,334,39414,211,0001,015,0002,437,120
3Jul 22, 2022 22:094,75932,138,34513,200,0002,030,0002,273,280
4Jul 22, 2022 22:094,76832,768,92714,240,0001,017,0002,437,120
5Jul 22, 2022 22:094,77528,997,10013,242,0002,037,0002,519,040
6Jul 22, 2022 22:094,78639,170,72214,295,0001,021,0002,428,928
7Jul 22, 2022 22:094,79732,063,50014,327,0001,023,0002,424,832
8Jul 22, 2022 22:094,80335,901,25213,322,0002,049,0002,273,280
9Jul 22, 2022 22:094,80436,713,31015,374,00002,269,184
10Jul 22, 2022 22:094,93877,989,19815,801,67002,191,360
11Jul 22, 2022 22:094,94884,164,67715,833,01202,179,072
12Jul 22, 2022 22:094,96873,715,16415,896,85302,256,896