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 2, 2022 06:35someone12469someone12469Score: 5,359Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2022 06:355,31844,670,76916,016,0001,001,0002,392,064
2Aug 2, 2022 06:355,33134,853,75116,057,0001,003,0002,265,088
3Aug 2, 2022 06:355,33443,439,34315,061,0002,008,0002,465,792
4Aug 2, 2022 06:355,33838,286,94016,076,0001,004,0002,527,232
5Aug 2, 2022 06:355,34247,771,43816,090,0001,005,0002,387,968
6Aug 2, 2022 06:355,35143,204,02115,109,0002,014,0002,387,968
7Aug 2, 2022 06:355,35933,434,21916,141,0001,008,0002,265,088
8Aug 2, 2022 06:355,37839,034,67516,196,0001,012,0002,396,160
9Aug 2, 2022 06:355,38045,127,68515,192,0002,025,0002,478,080
10Aug 2, 2022 06:355,53684,495,72117,714,96802,285,568
11Aug 2, 2022 06:355,560101,098,91317,793,04102,281,472
12Aug 2, 2022 06:355,57054,623,80217,824,35602,277,376