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 listAug 20, 2022 13:52Eugene ZhydzetskiEugene ZhydzetskiScore: 6,030Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:525,94185,271,54019,010,81502,236,416
2Aug 20, 2022 13:525,94644,003,39218,027,0001,001,0002,334,720
3Aug 20, 2022 13:526,00740,735,04018,212,0001,011,0002,334,720
4Aug 20, 2022 13:526,02740,719,07717,255,0002,030,0002,334,720
5Aug 20, 2022 13:526,02950,004,12818,277,0001,015,0002,334,720
6Aug 20, 2022 13:526,02939,621,07617,263,0002,031,0002,334,720
7Aug 20, 2022 13:526,03042,829,96716,249,0003,046,0002,527,232
8Aug 20, 2022 13:526,03035,259,32717,264,0002,031,0002,334,720
9Aug 20, 2022 13:526,06850,376,45917,373,0002,043,0002,334,720
10Aug 20, 2022 13:526,08336,632,78817,418,0002,049,0002,531,328
11Aug 20, 2022 13:526,10883,905,02619,544,21502,240,512
12Aug 20, 2022 13:526,22079,053,65519,905,06502,236,416