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 listJun 27, 2021 23:04gchebanovgchebanovScore: 5,371Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 23:045,32533,042,10516,037,0001,002,0002,265,088
2Jun 27, 2021 23:045,33143,082,65716,055,0001,003,0002,400,256
3Jun 27, 2021 23:045,33133,393,12516,055,0001,003,0002,383,872
4Jun 27, 2021 23:045,33245,891,11315,056,0002,007,0002,387,968
5Jun 27, 2021 23:045,34042,786,65816,083,0001,005,0002,387,968
6Jun 27, 2021 23:045,36344,856,91416,151,0001,009,0002,392,064
7Jun 27, 2021 23:045,37133,425,76816,177,0001,011,0002,265,088
8Jun 27, 2021 23:045,39734,866,95915,239,0002,031,0002,392,064
9Jun 27, 2021 23:045,40544,304,19415,261,0002,034,0002,527,232
10Jun 27, 2021 23:045,53194,195,38517,700,71002,277,376
11Jun 27, 2021 23:045,55297,655,47317,765,44302,244,608
12Jun 27, 2021 23:045,56586,985,12217,809,32602,285,568