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 listAug 19, 2022 19:02Eugene ZhydzetskiEugene ZhydzetskiScore: 5,952Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 19:025,89845,058,81217,881,000993,0002,334,720
2Aug 19, 2022 19:025,90447,001,97517,899,000994,0002,535,424
3Aug 19, 2022 19:025,90744,625,54516,913,0001,989,0002,334,720
4Aug 19, 2022 19:025,92650,757,15917,966,000998,0002,281,472
5Aug 19, 2022 19:025,93248,642,28017,984,000999,0002,531,328
6Aug 19, 2022 19:025,94844,400,88517,031,0002,003,0002,330,624
7Aug 19, 2022 19:025,95280,518,91319,046,86202,248,704
8Aug 19, 2022 19:025,95747,907,36118,059,0001,003,0002,531,328
9Aug 19, 2022 19:025,96943,912,98818,097,0001,005,0002,535,424
10Aug 19, 2022 19:025,97651,664,24718,116,0001,006,0002,379,776
11Aug 19, 2022 19:025,99481,683,33519,179,92502,244,608
12Aug 19, 2022 19:026,11685,944,77019,570,17002,240,512