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 17:21Eugene ZhydzetskiEugene ZhydzetskiScore: 5,953Success
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 17:215,90643,826,09718,898,00002,400,256
2Aug 19, 2022 17:215,92047,350,97117,947,000997,0002,531,328
3Aug 19, 2022 17:215,92735,983,35317,968,000998,0002,334,720
4Aug 19, 2022 17:215,93250,377,05116,985,0001,998,0002,535,424
5Aug 19, 2022 17:215,94045,917,72518,009,0001,000,0002,531,328
6Aug 19, 2022 17:215,95148,877,87718,040,0001,002,0002,334,720
7Aug 19, 2022 17:215,95350,568,10218,048,0001,002,0002,334,720
8Aug 19, 2022 17:215,98144,545,23217,124,0002,014,0002,334,720
9Aug 19, 2022 17:215,98291,445,83619,143,30502,244,608
10Aug 19, 2022 17:215,99670,280,54319,187,49402,240,512
11Aug 19, 2022 17:216,01484,944,16919,244,59602,236,416
12Aug 19, 2022 17:216,02146,205,49417,239,0002,028,0002,334,720