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 listNov 1, 2021 11:32Ilya AniskovetsIlya AniskovetsScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:325,26335,722,09816,842,00002,265,088
2Nov 1, 2021 11:325,26542,784,52314,866,0001,982,0002,265,088
3Nov 1, 2021 11:325,26842,769,79415,868,000991,0002,265,088
4Nov 1, 2021 11:325,27233,557,70715,878,000992,0002,527,232
5Nov 1, 2021 11:325,27233,126,67715,877,000992,0002,265,088
6Nov 1, 2021 11:325,27438,953,76514,893,0001,985,0002,265,088
7Nov 1, 2021 11:325,27548,897,62214,895,0001,986,0002,265,088
8Nov 1, 2021 11:325,27644,831,28015,890,000993,0002,265,088
9Nov 1, 2021 11:325,27643,393,06114,897,0001,986,0002,265,088
10Nov 1, 2021 11:325,27644,480,39216,883,00002,265,088
11Nov 1, 2021 11:325,27844,119,16615,896,000993,0002,396,160
12Nov 1, 2021 11:325,28136,860,16014,910,0001,988,0002,387,968
13Nov 1, 2021 11:325,28146,065,52814,912,0001,988,0002,527,232
14Nov 1, 2021 11:325,28945,332,09315,868,0001,057,0002,265,088
15Nov 1, 2021 11:325,29845,354,97115,956,000997,0002,523,136
16Nov 1, 2021 11:325,29947,401,33415,960,000997,0002,265,088
17Nov 1, 2021 11:325,30347,985,34214,972,0001,996,0002,392,064
18Nov 1, 2021 11:325,30842,721,26914,987,0001,998,0002,265,088
19Nov 1, 2021 11:325,46092,188,15617,472,71002,269,184
20Nov 1, 2021 11:325,47296,884,54317,511,43102,277,376
21Nov 1, 2021 11:325,47383,904,25217,514,85602,273,280
22Nov 1, 2021 11:325,47886,834,56417,530,42502,289,664
23Nov 1, 2021 11:325,47874,413,99217,528,99402,289,664
24Nov 1, 2021 11:325,49368,868,05817,578,73702,269,184