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 listNov 1, 2021 15:50Ilya AniskovetsIlya AniskovetsScore: 5,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 15:505,47143,113,30516,479,0001,029,0002,281,472
2Nov 1, 2021 15:505,48845,560,25716,528,0001,033,0002,269,184
3Nov 1, 2021 15:505,51745,400,61816,616,0001,038,0002,527,232
4Nov 1, 2021 15:505,52349,397,70117,673,00002,277,376
5Nov 1, 2021 15:505,53049,764,93616,656,0001,041,0002,277,376
6Nov 1, 2021 15:505,53047,692,15417,697,00002,289,664
7Nov 1, 2021 15:505,53337,899,53717,707,00002,289,664
8Nov 1, 2021 15:505,58444,930,75115,883,0001,985,0002,355,200
9Nov 1, 2021 15:505,58845,495,29415,895,0001,986,0002,289,664
10Nov 1, 2021 15:505,64669,193,46618,066,49802,289,664
11Nov 1, 2021 15:505,64674,681,95818,067,90802,297,856
12Nov 1, 2021 15:505,68088,531,04418,176,85602,301,952