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 22, 2022 16:03Eugene ZhydzetskiEugene ZhydzetskiScore: 5,809Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 16:035,75841,587,79818,426,00002,334,720
2Aug 22, 2022 16:035,76440,742,72617,422,0001,024,0002,334,720
3Aug 22, 2022 16:035,78046,579,37818,495,00002,281,472
4Aug 22, 2022 16:035,78843,733,62018,521,00002,531,328
5Aug 22, 2022 16:035,80339,146,36318,570,00002,535,424
6Aug 22, 2022 16:035,80339,131,20218,570,00002,281,472
7Aug 22, 2022 16:035,80941,623,82818,590,00002,531,328
8Aug 22, 2022 16:035,82344,746,83817,597,0001,035,0002,334,720
9Aug 22, 2022 16:035,85347,457,70317,688,0001,040,0002,334,720
10Aug 22, 2022 16:035,88585,899,17718,830,58502,244,608
11Aug 22, 2022 16:035,95189,256,21819,044,71802,240,512
12Aug 22, 2022 16:036,03091,556,86419,295,44502,244,608