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 listJun 19, 2023 21:52Ulyanov AlekseyUlyanov AlekseyScore: 5,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:525,46241,188,67816,451,0001,028,0002,289,664
2Jun 19, 2023 21:525,47031,541,93116,475,0001,029,0002,273,280
3Jun 19, 2023 21:525,47343,294,06716,485,0001,030,0002,289,664
4Jun 19, 2023 21:525,48340,235,57816,515,0001,032,0002,277,376
5Jun 19, 2023 21:525,49034,961,64916,536,0001,033,0002,392,064
6Jun 19, 2023 21:525,51035,052,25616,595,0001,037,0002,289,664
7Jun 19, 2023 21:525,51245,300,66517,639,00002,289,664
8Jun 19, 2023 21:525,52033,493,70117,664,00002,527,232
9Jun 19, 2023 21:525,52437,393,96216,637,0001,039,0002,273,280
10Jun 19, 2023 21:525,65590,708,59118,096,65502,289,664
11Jun 19, 2023 21:525,67552,973,50518,158,56602,297,856
12Jun 19, 2023 21:525,69980,706,33718,238,18002,174,976