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 listJan 15, 2024 14:20matsuoka-601matsuoka-601Score: 5,512Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:205,47139,936,21716,478,0001,029,0002,273,280
2Jan 15, 2024 14:205,47538,660,51616,489,0001,030,0002,285,568
3Jan 15, 2024 14:205,48034,445,65316,505,0001,031,0002,285,568
4Jan 15, 2024 14:205,48239,842,12816,511,0001,031,0002,523,136
5Jan 15, 2024 14:205,48933,173,71817,564,00002,285,568
6Jan 15, 2024 14:205,50139,068,48816,568,0001,035,0002,285,568
7Jan 15, 2024 14:205,51243,323,74516,602,0001,037,0002,285,568
8Jan 15, 2024 14:205,52642,822,04316,642,0001,040,0002,269,184
9Jan 15, 2024 14:205,52741,814,05416,647,0001,040,0002,285,568
10Jan 15, 2024 14:205,63579,974,78018,033,16302,301,952
11Jan 15, 2024 14:205,68187,439,64218,179,84502,179,072
12Jan 15, 2024 14:205,70085,860,31718,241,07502,306,048