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 listMay 29, 2021 22:39Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 22:4200000Error: exit with code 1: alg:0 fwd:1216 mode:3 time:14815stderr
2May 29, 2021 22:4200000Error: exit with code 1: alg:0 fwd:512 mode:2 time:14910stderr
3May 29, 2021 22:4100000Error: exit with code 1: alg:0 fwd:512 mode:1 time:14891stderr
4May 29, 2021 22:4000000Error: exit with code 1: alg:0 fwd:128 mode:0 time:14983stderr
5May 29, 2021 22:3900000Error: exit with code 1: alg:0 fwd:1216 mode:3 time:14812stderr
6May 29, 2021 22:395,19937,427,35715,598,0001,039,0002,400,256
7May 29, 2021 22:395,21743,111,41016,695,00002,281,472
8May 29, 2021 22:395,21832,634,15115,655,0001,043,0002,281,472
9May 29, 2021 22:395,23033,018,24416,737,00002,281,472
10May 29, 2021 22:395,23134,313,71116,740,00002,281,472
11May 29, 2021 22:395,23136,987,31716,740,00002,400,256
12May 29, 2021 22:395,26845,691,90815,868,000991,0002,404,352
13May 29, 2021 22:395,27033,081,10015,873,000992,0002,400,256
14May 29, 2021 22:395,27348,139,14114,889,0001,985,0002,404,352
15May 29, 2021 22:395,39082,889,08417,246,74302,293,760
16May 29, 2021 22:395,40773,211,01117,302,38002,293,760
17May 29, 2021 22:395,41675,938,58717,330,86302,281,472