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 listJul 13, 2021 19:50Yuriy LyfenkoYuriy LyfenkoScore: 5,706Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:505,655542,243,98415,081,0003,016,0002,330,624
2Jul 13, 2021 19:505,668538,859,87116,121,0002,015,0002,330,624
3Jul 13, 2021 19:505,690543,301,87516,186,0002,023,0002,330,624
4Jul 13, 2021 19:505,698546,442,60015,195,0003,039,0002,330,624
5Jul 13, 2021 19:505,702538,214,47316,220,0002,027,0002,523,136
6Jul 13, 2021 19:505,703550,224,02315,208,0003,041,0002,334,720
7Jul 13, 2021 19:505,706543,131,69215,215,0003,043,0002,330,624
8Jul 13, 2021 19:505,716572,948,87218,291,32102,256,896
9Jul 13, 2021 19:505,716540,565,12116,258,0002,032,0002,330,624
10Jul 13, 2021 19:505,729579,052,80618,333,60802,252,800
11Jul 13, 2021 19:505,753539,576,31315,340,0003,068,0002,355,200
12Jul 13, 2021 19:505,807568,580,48018,583,86602,256,896