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 27, 2023 19:13Andranik ChakiryanAndranik ChakiryanScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2023 19:145,45541,040,40516,429,0001,026,0002,342,912
2Feb 27, 2023 19:145,47144,644,13816,477,0001,029,0002,351,104
3Feb 27, 2023 19:135,47939,747,83016,503,0001,031,0002,342,912
4Feb 27, 2023 19:135,47933,228,21716,501,0001,031,0002,338,816
5Feb 27, 2023 19:145,48338,726,91616,514,0001,032,0002,334,720
6Feb 27, 2023 19:135,48433,060,32916,518,0001,032,0002,351,104
7Feb 27, 2023 19:135,48539,872,05016,520,0001,032,0002,347,008
8Feb 27, 2023 19:145,48831,332,24817,562,00002,342,912
9Feb 27, 2023 19:135,49145,689,14915,503,0002,067,0002,359,296
10Feb 27, 2023 19:145,49135,847,75716,537,0001,033,0002,338,816
11Feb 27, 2023 19:135,50333,888,38017,609,00002,342,912
12Feb 27, 2023 19:135,50546,119,85716,579,0001,036,0002,342,912
13Feb 27, 2023 19:135,50843,396,53816,588,0001,036,0002,355,200
14Feb 27, 2023 19:145,50965,761,19117,627,89502,199,552
15Feb 27, 2023 19:145,51042,688,53816,595,0001,037,0002,355,200
16Feb 27, 2023 19:145,51343,347,27016,603,0001,037,0002,342,912
17Feb 27, 2023 19:135,51547,534,46915,572,0002,076,0002,351,104
18Feb 27, 2023 19:145,52842,093,41917,688,00002,342,912
19Feb 27, 2023 19:145,57635,948,13014,870,0002,974,0002,338,816
20Feb 27, 2023 19:145,58088,397,51717,856,75202,183,168
21Feb 27, 2023 19:135,60291,211,32217,927,51802,187,264
22Feb 27, 2023 19:135,64784,268,10418,070,06902,191,360
23Feb 27, 2023 19:135,70681,774,00318,258,76302,187,264
24Feb 27, 2023 19:145,72583,383,98818,318,75102,183,168