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 15, 2023 23:49Alexander MonakovAlexander MonakovScore: 8,284Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 15, 2023 23:495,56390,536,72517,800,63402,293,760
2Mar 15, 2023 23:495,57585,652,60517,839,72902,285,568
3Mar 15, 2023 23:495,59871,697,23617,914,46002,174,976
4Mar 15, 2023 23:498,23248,249,52118,237,0008,105,0002,363,392
5Mar 15, 2023 23:498,27254,877,75319,343,0007,126,0002,338,816
6Mar 15, 2023 23:498,27647,787,66517,316,0009,167,0002,437,120
7Mar 15, 2023 23:498,28455,000,72916,314,00010,196,0002,359,296
8Mar 15, 2023 23:498,28445,448,23415,294,00011,216,0002,441,216
9Mar 15, 2023 23:498,28750,341,59419,378,0007,139,0002,383,872
10Mar 15, 2023 23:498,33453,217,73919,489,0007,180,0002,359,296
11Mar 15, 2023 23:498,39350,363,16413,925,00012,931,0002,428,928
12Mar 15, 2023 23:498,39553,986,42014,924,00011,939,0002,355,200