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 listMay 17, 2021 11:33Sergey StreminSergey StreminScore: 5,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 11:335,70439,273,68615,210,0003,042,0002,371,584
2May 17, 2021 11:335,71639,616,16716,260,0002,032,0002,371,584
3May 17, 2021 11:335,71844,667,21216,264,0002,033,0002,277,376
4May 17, 2021 11:335,71940,627,40018,300,00002,359,296
5May 17, 2021 11:335,73040,643,58717,317,0001,018,0002,367,488
6May 17, 2021 11:335,74235,249,55518,374,00002,277,376
7May 17, 2021 11:335,74735,638,07017,369,0001,021,0002,269,184
8May 17, 2021 11:335,75144,052,66417,382,0001,022,0002,277,376
9May 17, 2021 11:335,76339,501,78317,419,0001,024,0002,277,376
10May 17, 2021 11:336,03864,850,72719,322,39602,236,416
11May 17, 2021 11:336,04157,717,41519,332,69902,236,416
12May 17, 2021 11:336,04390,315,67819,337,50602,232,320