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 listJul 10, 2023 23:40Anılcan GülkayaAnılcan GülkayaScore: 5,702Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 10, 2023 23:405,66935,119,65316,126,0002,015,0002,289,664
2Jul 10, 2023 23:405,67240,109,73417,142,0001,008,0002,273,280
3Jul 10, 2023 23:405,68537,311,31916,170,0002,021,0002,277,376
4Jul 10, 2023 23:405,68640,683,33817,184,0001,010,0002,277,376
5Jul 10, 2023 23:405,69339,450,25916,194,0002,024,0002,289,664
6Jul 10, 2023 23:405,69541,202,21716,199,0002,024,0002,289,664
7Jul 10, 2023 23:405,70241,138,32116,218,0002,027,0002,289,664
8Jul 10, 2023 23:405,74639,734,32316,344,0002,043,0002,289,664
9Jul 10, 2023 23:405,76947,221,82316,409,0002,051,0002,289,664
10Jul 10, 2023 23:406,07080,914,45219,422,99302,297,856
11Jul 10, 2023 23:406,12897,716,98819,610,11402,301,952
12Jul 10, 2023 23:406,17199,190,90519,746,58302,306,048