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 17, 2021 03:29Yuriy LyfenkoYuriy LyfenkoScore: 5,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 03:295,385689,367,34816,220,0001,013,0002,265,088
2May 17, 2021 03:295,4104,588,297,78216,352,000961,0002,523,136
3May 17, 2021 03:295,4253,463,535,15716,340,0001,021,0002,269,184
4May 17, 2021 03:295,4284,633,470,64114,476,0002,895,0002,265,088
5May 17, 2021 03:295,429423,727,27314,478,0002,895,0002,269,184
6May 17, 2021 03:295,4301,507,453,80715,446,0001,930,0002,269,184
7May 17, 2021 03:295,4321,288,663,82216,418,000965,0002,265,088
8May 17, 2021 03:295,4332,817,256,96316,362,0001,022,0002,265,088
9May 17, 2021 03:295,4493,611,177,22916,411,0001,025,0002,527,232
10May 17, 2021 03:295,5953,001,556,75917,905,38202,277,376
11May 17, 2021 03:295,6013,809,265,35917,923,43102,277,376
12May 17, 2021 03:295,6211,149,362,54317,987,59802,277,376