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 21, 2024 15:09AnSaAnSaScore: 5,607Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 15:095,57645,357,00715,861,0001,982,0002,375,680
2Jan 21, 2024 15:095,57746,786,69816,855,000991,0002,367,488
3Jan 21, 2024 15:095,57943,529,42515,869,0001,983,0002,453,504
4Jan 21, 2024 15:095,58946,170,70815,897,0001,987,0002,367,488
5Jan 21, 2024 15:095,59052,251,44916,896,000993,0002,375,680
6Jan 21, 2024 15:095,60748,666,32615,949,0001,993,0002,375,680
7Jan 21, 2024 15:095,60749,302,07415,949,0001,993,0002,523,136
8Jan 21, 2024 15:095,61550,716,31616,971,000998,0002,367,488
9Jan 21, 2024 15:095,62848,749,47716,009,0002,001,0002,375,680
10Jan 21, 2024 15:095,75990,577,48718,429,00302,297,856
11Jan 21, 2024 15:095,76681,646,25018,450,84002,289,664
12Jan 21, 2024 15:095,77570,907,66318,478,66302,281,472