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 listJul 13, 2021 20:11Andrey TsvetkovAndrey TsvetkovScore: 6,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 20:115,97047,460,84917,093,0002,011,0002,519,040
2Jul 13, 2021 20:115,97741,352,29816,106,0003,019,0002,523,136
3Jul 13, 2021 20:115,99336,397,21617,161,0002,018,0002,514,944
4Jul 13, 2021 20:115,99340,366,12016,151,0003,028,0002,531,328
5Jul 13, 2021 20:116,00140,602,11818,192,0001,010,0002,330,624
6Jul 13, 2021 20:116,00946,792,21916,192,0003,036,0002,519,040
7Jul 13, 2021 20:116,02836,135,28118,276,0001,015,0002,334,720
8Jul 13, 2021 20:116,03140,791,95618,226,0001,072,0002,519,040
9Jul 13, 2021 20:116,03645,639,80918,300,0001,016,0002,334,720
10Jul 13, 2021 20:116,14692,721,42619,668,19402,232,320
11Jul 13, 2021 20:116,16484,402,75819,725,66502,232,320
12Jul 13, 2021 20:116,17688,882,26519,761,73802,228,224