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 19, 2024 09:36AnSaAnSaScore: 5,325Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 09:365,28942,207,69914,935,0001,991,0002,281,472
2Jan 19, 2024 09:365,29239,300,75214,942,0001,992,0002,387,968
3Jan 19, 2024 09:365,29334,029,30114,944,0001,992,0002,396,160
4Jan 19, 2024 09:365,29743,558,88715,952,000997,0002,281,472
5Jan 19, 2024 09:365,29740,748,46015,953,000997,0002,281,472
6Jan 19, 2024 09:365,32240,369,29716,029,0001,001,0002,281,472
7Jan 19, 2024 09:365,32534,988,50415,037,0002,004,0002,281,472
8Jan 19, 2024 09:365,32640,030,02916,042,0001,002,0002,400,256
9Jan 19, 2024 09:365,33443,015,31916,066,0001,004,0002,392,064
10Jan 19, 2024 09:365,50665,702,60017,620,75902,269,184
11Jan 19, 2024 09:365,53499,599,97017,708,89402,265,088
12Jan 19, 2024 09:365,55266,535,79817,764,81802,269,184