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 27, 2021 17:19Yurkov AlekseyYurkov AlekseyScore: 5,935Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:195,89946,141,88218,877,00002,523,136
2May 27, 2021 17:195,90334,372,72317,897,000994,0002,289,664
3May 27, 2021 17:195,90948,520,71516,919,0001,990,0002,289,664
4May 27, 2021 17:195,91340,707,59516,929,0001,991,0002,289,664
5May 27, 2021 17:195,91440,240,94816,934,0001,992,0002,289,664
6May 27, 2021 17:195,92141,770,79916,954,0001,994,0002,289,664
7May 27, 2021 17:195,93541,917,27316,994,0001,999,0002,289,664
8May 27, 2021 17:195,93645,851,50116,997,0001,999,0002,289,664
9May 27, 2021 17:195,96535,066,31117,079,0002,009,0002,269,184
10May 27, 2021 17:196,12045,772,38119,582,53702,297,856
11May 27, 2021 17:196,15050,002,23619,678,56202,256,896
12May 27, 2021 17:196,872104,739,89721,989,39002,170,880