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 26, 2023 14:01Andranik ChakiryanAndranik ChakiryanScore: 5,657Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 26, 2023 14:025,59244,444,79815,905,0001,988,0002,351,104
2Feb 26, 2023 14:025,59844,592,92416,861,0001,053,0002,351,104
3Feb 26, 2023 14:025,62044,249,59815,985,0001,998,0002,355,200
4Feb 26, 2023 14:025,62238,575,17215,991,0001,998,0002,355,200
5Feb 26, 2023 14:025,62442,443,31014,997,0002,999,0002,342,912
6Feb 26, 2023 14:015,62942,924,29215,011,0003,002,0002,355,200
7Feb 26, 2023 14:015,62942,052,79517,064,000948,0002,355,200
8Feb 26, 2023 14:015,63437,000,36016,027,0002,003,0002,351,104
9Feb 26, 2023 14:015,63947,630,74617,043,0001,002,0002,351,104
10Feb 26, 2023 14:015,64134,228,44517,050,0001,002,0002,338,816
11Feb 26, 2023 14:015,64546,809,27317,060,0001,003,0002,351,104
12Feb 26, 2023 14:025,65334,109,42016,081,0002,010,0002,359,296
13Feb 26, 2023 14:025,65744,028,74016,091,0002,011,0002,338,816
14Feb 26, 2023 14:015,66241,674,56516,106,0002,013,0002,338,816
15Feb 26, 2023 14:015,66647,015,21917,123,0001,007,0002,342,912
16Feb 26, 2023 14:025,67341,806,27315,127,0003,025,0002,342,912
17Feb 26, 2023 14:015,67393,651,79918,154,19402,187,264
18Feb 26, 2023 14:025,67739,397,43317,158,0001,009,0002,351,104
19Feb 26, 2023 14:015,67947,623,85216,155,0002,019,0002,342,912
20Feb 26, 2023 14:015,68884,872,42118,200,01002,183,168
21Feb 26, 2023 14:015,70374,108,50418,250,42902,183,168
22Feb 26, 2023 14:025,73879,462,88618,361,90302,269,184
23Feb 26, 2023 14:025,77168,672,74018,465,93602,183,168
24Feb 26, 2023 14:025,80091,256,53218,558,43202,174,976