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 16, 2023 00:09Alexander MonakovAlexander MonakovScore: 5,225Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 00:095,15944,057,22015,478,0001,031,0002,404,352
2Mar 16, 2023 00:095,18636,688,12616,594,00002,281,472
3Mar 16, 2023 00:095,18831,557,08615,563,0001,037,0002,408,448
4Mar 16, 2023 00:095,20644,985,48616,660,00002,281,472
5Mar 16, 2023 00:095,20847,678,43716,665,00002,400,256
6Mar 16, 2023 00:095,21642,353,56715,648,0001,043,0002,281,472
7Mar 16, 2023 00:095,22547,958,01416,719,00002,281,472
8Mar 16, 2023 00:095,23344,404,01516,747,00002,281,472
9Mar 16, 2023 00:095,27234,276,10315,879,000992,0002,400,256
10Mar 16, 2023 00:095,37182,773,07317,186,46602,285,568
11Mar 16, 2023 00:095,38077,092,91617,215,01102,289,664
12Mar 16, 2023 00:095,39778,755,48017,270,54702,301,952