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 listApr 11, 2024 17:38Drew GarciaDrew GarciaScore: 5,374Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 17:385,34134,288,36615,081,0002,010,0002,269,184
2Apr 11, 2024 17:385,34339,240,79716,094,0001,005,0002,269,184
3Apr 11, 2024 17:385,34834,978,77516,107,0001,006,0002,400,256
4Apr 11, 2024 17:385,35334,809,26015,116,0002,015,0002,400,256
5Apr 11, 2024 17:385,36643,497,31514,142,0003,030,0002,269,184
6Apr 11, 2024 17:385,37033,790,34616,173,0001,010,0002,408,448
7Apr 11, 2024 17:385,37445,255,32414,162,0003,034,0002,404,352
8Apr 11, 2024 17:385,38338,344,19215,200,0002,026,0002,269,184
9Apr 11, 2024 17:385,40335,149,31516,274,0001,017,0002,269,184
10Apr 11, 2024 17:385,79196,517,08718,529,91602,293,760
11Apr 11, 2024 17:385,80170,639,78718,563,65202,301,952
12Apr 11, 2024 17:385,82062,699,41718,622,43602,301,952