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 18, 2023 15:49Alexander MonakovAlexander MonakovScore: 4,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 18, 2023 15:494,50832,304,08914,425,00002,486,272
2Mar 18, 2023 15:494,53037,823,22314,497,00002,277,376
3Mar 18, 2023 15:494,53928,897,45914,525,00002,473,984
4Mar 18, 2023 15:494,54337,223,85614,537,00002,277,376
5Mar 18, 2023 15:494,59531,535,05813,653,0001,050,0002,490,368
6Mar 18, 2023 15:494,64440,032,08013,871,000990,0002,277,376
7Mar 18, 2023 15:494,70331,403,34913,044,0002,006,0002,277,376
8Mar 18, 2023 15:494,71336,502,84713,071,0002,010,0002,523,136
9Mar 18, 2023 15:494,73642,115,78313,134,0002,020,0002,277,376
10Mar 18, 2023 15:494,82099,177,18815,423,12202,228,224
11Mar 18, 2023 15:494,82891,391,06315,449,09002,236,416
12Mar 18, 2023 15:494,85578,703,64515,535,69502,232,320