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 listDec 22, 2024 01:26KeKazartsevKeKazartsevScore: 18,559Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2024 02:1217,94879,782,45855,418,0002,015,0002,514,944
2Dec 22, 2024 01:2618,07483,625,95555,843,0001,994,0002,519,040
3Dec 22, 2024 01:2618,11886,407,24655,980,0001,999,0002,510,848
4Dec 22, 2024 02:1218,19882,197,65455,223,0003,012,0002,514,944
5Dec 22, 2024 01:2618,26880,324,22057,449,0001,007,0002,510,848
6Dec 22, 2024 02:1218,28088,341,31058,495,00002,510,848
7Dec 22, 2024 01:2318,55985,864,41657,376,0002,013,0002,371,584
8Dec 22, 2024 01:2318,58891,773,77156,456,0003,024,0002,367,488
9Dec 22, 2024 01:2318,65089,910,17156,646,0003,034,0002,416,640
10Dec 22, 2024 01:2618,84489,990,97559,297,0001,005,0002,314,240
11Dec 22, 2024 01:2618,88287,903,40259,414,0001,007,0002,314,240
12Dec 22, 2024 01:2619,02794,064,81858,889,0001,996,0002,498,560