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 14:35Dmitry DolgopolovDmitry DolgopolovScore: 5,118Success
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 14:355,06532,617,19014,183,0002,026,0002,392,064
2May 24, 2021 14:355,10433,636,65116,332,00002,265,088
3May 24, 2021 14:355,10433,611,72215,313,0001,020,0002,265,088
4May 24, 2021 14:355,11143,189,19015,332,0001,022,0002,265,088
5May 24, 2021 14:355,11133,541,37414,311,0002,044,0002,396,160
6May 24, 2021 14:355,11744,813,51715,351,0001,023,0002,392,064
7May 24, 2021 14:355,11839,243,07116,376,00002,265,088
8May 24, 2021 14:355,12439,076,93115,374,0001,024,0002,392,064
9May 24, 2021 14:355,14845,025,52516,472,00002,387,968
10May 24, 2021 14:355,35078,556,20117,120,95102,289,664
11May 24, 2021 14:355,35479,584,40417,132,62902,281,472
12May 24, 2021 14:355,36185,737,95117,155,31902,293,760