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 listSep 26, 2023 00:28IhebIhebScore: 5,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 26, 2023 00:285,72946,031,07016,296,0002,037,0002,277,376
2Sep 26, 2023 00:285,73047,741,94217,317,0001,018,0002,265,088
3Sep 26, 2023 00:285,73046,066,25117,318,0001,018,0002,265,088
4Sep 26, 2023 00:285,75240,338,54618,406,00002,289,664
5Sep 26, 2023 00:285,75236,590,88317,384,0001,022,0002,289,664
6Sep 26, 2023 00:285,76143,267,73018,436,00002,289,664
7Sep 26, 2023 00:285,77744,766,45016,433,0002,054,0002,269,184
8Sep 26, 2023 00:285,78139,829,28816,445,0002,055,0002,289,664
9Sep 26, 2023 00:285,80341,025,17018,570,00002,289,664
10Sep 26, 2023 00:285,96582,540,93119,088,11602,297,856
11Sep 26, 2023 00:285,99767,880,00919,189,95702,281,472
12Sep 26, 2023 00:286,058115,679,77319,385,50002,297,856