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 listApr 23, 2025 07:07vahookvahookScore: 4,161Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 23, 2025 07:074,12527,107,87913,199,00002,486,272
2Apr 23, 2025 07:094,13931,602,37613,245,00002,490,368
3Apr 23, 2025 07:074,14037,279,64813,247,00002,490,368
4Apr 23, 2025 07:074,14031,036,13613,248,00002,490,368
5Apr 23, 2025 07:074,14233,341,27413,254,00002,531,328
6Apr 23, 2025 07:074,14636,854,11213,266,00002,490,368
7Apr 23, 2025 07:074,15527,402,64213,297,00002,498,560
8Apr 23, 2025 07:094,16134,108,26213,314,00002,494,464
9Apr 23, 2025 07:074,16730,338,52613,335,00002,490,368
10Apr 23, 2025 07:074,17125,528,73013,348,00002,273,280
11Apr 23, 2025 07:074,17431,030,56513,357,00002,273,280
12Apr 23, 2025 07:074,18029,248,89413,377,00002,273,280
13Apr 23, 2025 07:074,18531,148,03013,392,00002,273,280
14Apr 23, 2025 07:094,18529,160,97013,392,00002,498,560
15Apr 23, 2025 07:074,20238,348,23313,446,00002,265,088