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 15, 2021 21:53Yuriy LyfenkoYuriy LyfenkoScore: 5,479Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 21:535,44045,624,38517,407,00002,396,160
2May 15, 2021 21:535,44239,108,88316,390,0001,024,0002,260,992
3May 15, 2021 21:535,44841,676,73416,409,0001,025,0002,392,064
4May 15, 2021 21:535,44935,759,20817,438,00002,523,136
5May 15, 2021 21:535,45345,851,02916,422,0001,026,0002,260,992
6May 15, 2021 21:535,45343,984,64817,448,00002,523,136
7May 15, 2021 21:535,45740,693,99216,436,0001,027,0002,387,968
8May 15, 2021 21:535,45938,835,52816,441,0001,027,0002,396,160
9May 15, 2021 21:535,46342,689,10016,453,0001,028,0002,387,968
10May 15, 2021 21:535,46543,875,13916,460,0001,028,0002,260,992
11May 15, 2021 21:535,46745,181,52016,465,0001,029,0002,387,968
12May 15, 2021 21:535,47642,215,12716,494,0001,030,0002,387,968
13May 15, 2021 21:535,47942,062,35317,533,00002,523,136
14May 15, 2021 21:535,48138,496,17317,538,00002,383,872
15May 15, 2021 21:535,48940,155,05316,531,0001,033,0002,527,232
16May 15, 2021 21:535,53036,794,70216,656,0001,041,0002,523,136
17May 15, 2021 21:535,53246,560,66817,703,00002,523,136
18May 15, 2021 21:535,58139,401,84412,899,0004,961,0002,269,184
19May 15, 2021 21:535,61895,207,21617,978,88402,281,472
20May 15, 2021 21:535,62579,132,55117,998,54202,269,184
21May 15, 2021 21:535,64179,567,87718,050,21702,281,472
22May 15, 2021 21:535,67562,966,44918,160,77602,285,568
23May 15, 2021 21:535,69078,770,38818,208,06502,277,376
24May 15, 2021 21:535,70677,194,88618,259,21802,273,280