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 listMay 24, 2021 23:44Egor SergeevEgor SergeevScore: 5,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 23:445,62145,915,62415,988,0001,998,0002,277,376
2May 24, 2021 23:445,62542,193,67816,001,0002,000,0002,277,376
3May 24, 2021 23:445,64132,339,24416,046,0002,005,0002,269,184
4May 24, 2021 23:445,65237,240,13716,077,0002,009,0002,277,376
5May 24, 2021 23:445,65348,510,78417,086,0001,005,0002,269,184
6May 24, 2021 23:445,65839,160,97316,093,0002,011,0002,277,376
7May 24, 2021 23:445,65841,854,27317,101,0001,005,0002,277,376
8May 24, 2021 23:445,66043,173,68215,094,0003,018,0002,277,376
9May 24, 2021 23:445,66839,124,70416,123,0002,015,0002,277,376
10May 24, 2021 23:445,78548,224,87918,513,02002,170,880
11May 24, 2021 23:445,85291,657,54618,725,58902,297,856
12May 24, 2021 23:446,67482,450,19421,357,12102,260,992