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 22, 2024 02:38Yuriy LyfenkoYuriy LyfenkoScore: 7,036Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 02:386,06693,331,02019,412,02702,277,376
2Apr 22, 2024 02:386,10580,924,99419,536,53802,285,568
3Apr 22, 2024 02:386,67746,453,15719,332,0002,035,0002,551,808
4Apr 22, 2024 02:386,71345,671,96920,460,0001,023,0002,551,808
5Apr 22, 2024 02:386,73149,449,55318,462,0003,077,0002,465,792
6Apr 22, 2024 02:386,97938,539,43721,317,0001,015,0002,514,944
7Apr 22, 2024 02:387,03654,612,41719,446,0003,070,0002,445,312
8Apr 22, 2024 02:387,09652,261,92220,643,0002,064,0002,551,808
9Apr 22, 2024 02:387,10050,053,52921,687,0001,032,0002,437,120
10Apr 22, 2024 02:387,14448,947,72419,879,0002,981,0002,551,808
11Apr 22, 2024 02:387,19355,373,30920,016,0003,002,0002,469,888
12Apr 22, 2024 02:3813,170120,206,58142,145,34802,273,280