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 listMar 17, 2023 23:11Alexander MonakovAlexander MonakovScore: 4,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 23:114,52345,467,02414,474,00002,277,376
2Mar 17, 2023 23:114,53130,459,17614,498,00002,535,424
3Mar 17, 2023 23:114,53729,394,94714,518,00002,498,560
4Mar 17, 2023 23:114,53840,559,50414,521,00002,277,376
5Mar 17, 2023 23:114,53931,956,41714,525,00002,277,376
6Mar 17, 2023 23:114,53935,808,33214,525,00002,494,464
7Mar 17, 2023 23:114,54037,570,84014,528,00002,494,464
8Mar 17, 2023 23:114,54935,180,48813,519,0001,039,0002,494,464
9Mar 17, 2023 23:114,55033,347,78914,560,00002,494,464
10Mar 17, 2023 23:114,79493,130,91615,340,93902,244,608
11Mar 17, 2023 23:114,79657,090,13115,347,91302,232,320
12Mar 17, 2023 23:114,80972,179,64315,389,80702,244,608