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 22:20Alexander MonakovAlexander MonakovScore: 4,577Success
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 22:204,53637,063,00614,516,00002,498,560
2Mar 17, 2023 22:204,55131,293,09014,563,00002,535,424
3Mar 17, 2023 22:204,55430,071,34914,572,00002,498,560
4Mar 17, 2023 22:204,55934,972,84414,588,00002,277,376
5Mar 17, 2023 22:204,57227,801,50812,679,0001,950,0002,498,560
6Mar 17, 2023 22:204,57428,860,54514,637,00002,498,560
7Mar 17, 2023 22:204,57734,157,59214,646,00002,506,752
8Mar 17, 2023 22:204,57940,140,57214,652,00002,277,376
9Mar 17, 2023 22:204,59034,906,70614,689,00002,498,560
10Mar 17, 2023 22:204,81069,016,31615,392,15402,244,608
11Mar 17, 2023 22:204,81986,688,29215,421,89402,236,416
12Mar 17, 2023 22:204,82463,115,43715,438,19702,240,512