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 listFeb 20, 2023 21:00Andranik ChakiryanAndranik ChakiryanScore: 5,863Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2023 21:005,78435,247,31417,482,0001,028,0002,359,296
2Feb 20, 2023 21:005,82542,334,67817,604,0001,035,0002,478,080
3Feb 20, 2023 21:005,83541,852,03317,634,0001,037,0002,351,104
4Feb 20, 2023 21:025,83835,881,98117,643,0001,037,0002,347,008
5Feb 20, 2023 21:005,84335,316,08117,658,0001,038,0002,351,104
6Feb 20, 2023 21:025,84340,688,67817,660,0001,038,0002,334,720
7Feb 20, 2023 21:025,84449,777,86317,662,0001,038,0002,347,008
8Feb 20, 2023 21:025,84846,609,62518,714,00002,347,008
9Feb 20, 2023 21:025,84944,940,88617,677,0001,039,0002,342,912
10Feb 20, 2023 21:025,85142,695,49118,724,00002,342,912
11Feb 20, 2023 21:005,85740,536,41417,702,0001,041,0002,342,912
12Feb 20, 2023 21:005,86242,135,97617,715,0001,042,0002,347,008
13Feb 20, 2023 21:005,863100,018,44518,761,08402,183,168
14Feb 20, 2023 21:005,868105,765,69318,777,82602,187,264
15Feb 20, 2023 21:005,87395,046,12918,792,46702,179,072
16Feb 20, 2023 21:005,88649,217,70317,844,000991,0002,342,912
17Feb 20, 2023 21:025,89336,299,39116,874,0001,985,0002,338,816
18Feb 20, 2023 21:005,89344,046,57117,865,000992,0002,342,912
19Feb 20, 2023 21:025,89755,581,95015,890,0002,979,0002,342,912
20Feb 20, 2023 21:025,89995,088,08918,877,13802,174,976
21Feb 20, 2023 21:025,90349,198,19317,897,000994,0002,351,104
22Feb 20, 2023 21:025,90795,752,58518,901,09002,179,072
23Feb 20, 2023 21:005,90745,925,13317,907,000994,0002,338,816
24Feb 20, 2023 21:025,97988,855,03719,131,74902,306,048