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:29Eugene ZhydzetskiEugene ZhydzetskiScore: 5,951Success
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:295,91335,202,22516,929,0001,991,0002,535,424
2Aug 20, 2022 13:295,92243,212,00417,952,000997,0002,334,720
3Aug 20, 2022 13:295,92639,805,06816,967,0001,996,0002,334,720
4Aug 20, 2022 13:295,94045,246,39017,008,0002,001,0002,334,720
5Aug 20, 2022 13:295,94742,573,65018,030,0001,001,0002,334,720
6Aug 20, 2022 13:295,95144,611,30818,040,0001,002,0002,334,720
7Aug 20, 2022 13:295,95142,825,18117,038,0002,004,0002,334,720
8Aug 20, 2022 13:295,95543,582,24317,050,0002,005,0002,531,328
9Aug 20, 2022 13:295,95541,496,88418,054,0001,003,0002,334,720
10Aug 20, 2022 13:295,97390,623,72819,115,19002,244,608
11Aug 20, 2022 13:296,11491,642,06919,565,49002,256,896
12Aug 20, 2022 13:296,13068,852,87419,616,38302,236,416