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 18:06Eugene ZhydzetskiEugene ZhydzetskiScore: 5,897Success
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 18:065,78839,322,90617,494,0001,029,0002,334,720
2Aug 19, 2022 18:065,84443,797,75918,700,00002,334,720
3Aug 19, 2022 18:065,86444,488,16517,724,0001,042,0002,535,424
4Aug 19, 2022 18:065,88684,170,71118,833,60602,240,512
5Aug 19, 2022 18:065,89335,625,61818,858,00002,334,720
6Aug 19, 2022 18:065,89444,562,90818,860,00002,334,720
7Aug 19, 2022 18:065,89748,397,18717,877,000993,0002,334,720
8Aug 19, 2022 18:065,89742,229,81417,878,000993,0002,334,720
9Aug 19, 2022 18:065,89746,385,77317,878,000993,0002,531,328
10Aug 19, 2022 18:065,91190,762,63318,915,35402,244,608
11Aug 19, 2022 18:065,92645,882,58615,968,0002,994,0002,379,776
12Aug 19, 2022 18:065,92781,492,26518,966,34102,244,608