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 19, 2022 21:45Eugene ZhydzetskiEugene ZhydzetskiScore: 5,912Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 21:455,89545,797,81317,872,000992,0002,535,424
2Aug 19, 2022 21:455,90048,377,65216,892,0001,987,0002,334,720
3Aug 19, 2022 21:455,90343,858,91618,890,00002,334,720
4Aug 19, 2022 21:455,90347,838,31817,897,000994,0002,334,720
5Aug 19, 2022 21:455,90542,163,54516,908,0001,989,0002,334,720
6Aug 19, 2022 21:455,90788,114,43418,902,94202,228,224
7Aug 19, 2022 21:455,91241,712,06616,927,0001,991,0002,334,720
8Aug 19, 2022 21:455,91741,589,21917,939,000996,0002,531,328
9Aug 19, 2022 21:455,92644,422,27815,803,0003,160,0002,535,424
10Aug 19, 2022 21:455,93082,865,74018,975,26302,244,608
11Aug 19, 2022 21:455,94446,166,87318,019,0001,001,0002,334,720
12Aug 19, 2022 21:456,07294,104,73919,430,34502,240,512