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 23:58Eugene ZhydzetskiEugene ZhydzetskiScore: 6,067Success
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 23:586,00340,091,56016,177,0003,033,0002,531,328
2Aug 20, 2022 23:586,01339,086,59617,217,0002,025,0002,334,720
3Aug 20, 2022 23:586,03740,375,70817,286,0002,033,0002,281,472
4Aug 20, 2022 23:586,03839,243,42618,305,0001,016,0002,334,720
5Aug 20, 2022 23:586,05240,375,75818,348,0001,019,0002,334,720
6Aug 20, 2022 23:586,06245,723,44418,377,0001,020,0002,535,424
7Aug 20, 2022 23:586,06744,782,88318,392,0001,021,0002,334,720
8Aug 20, 2022 23:586,06940,912,63817,376,0002,044,0002,531,328
9Aug 20, 2022 23:586,07743,477,87918,424,0001,023,0002,334,720
10Aug 20, 2022 23:586,09683,081,48019,506,24602,248,704
11Aug 20, 2022 23:586,10093,804,47119,519,12302,236,416
12Aug 20, 2022 23:586,11692,147,75719,571,17302,232,320