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 listJan 15, 2024 17:16matsuoka-601matsuoka-601Score: 4,869Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 17:164,81933,419,05615,422,00002,285,568
2Jan 15, 2024 17:164,83431,492,05714,437,0001,031,0002,285,568
3Jan 15, 2024 17:164,83931,177,51814,454,0001,032,0002,285,568
4Jan 15, 2024 17:164,85932,416,12815,548,00002,285,568
5Jan 15, 2024 17:164,85930,716,26814,512,0001,036,0002,285,568
6Jan 15, 2024 17:164,86638,590,56915,572,00002,285,568
7Jan 15, 2024 17:164,86932,831,74214,542,0001,038,0002,285,568
8Jan 15, 2024 17:164,87334,276,47714,556,0001,039,0002,285,568
9Jan 15, 2024 17:164,89541,446,72714,619,0001,044,0002,285,568
10Jan 15, 2024 17:165,06060,186,34516,190,57102,301,952
11Jan 15, 2024 17:165,10679,758,18516,340,63102,179,072
12Jan 15, 2024 17:165,12264,789,85816,389,22602,301,952