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 22, 2025 23:38vahookvahookScore: 4,221Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 23:084,18027,226,31513,377,00002,494,464
2Apr 22, 2025 23:364,18629,160,95013,395,00002,494,464
3Apr 22, 2025 23:084,19033,477,02213,408,00002,494,464
4Apr 22, 2025 23:084,19632,946,55713,427,00002,273,280
5Apr 22, 2025 23:084,19835,105,76513,434,00002,502,656
6Apr 22, 2025 23:364,20224,742,41913,445,00002,494,464
7Apr 22, 2025 23:364,20435,114,07813,452,00002,273,280
8Apr 22, 2025 23:084,20437,308,50513,454,00002,273,280
9Apr 22, 2025 23:084,20430,759,02813,452,00002,486,272
10Apr 22, 2025 23:084,20939,759,45613,469,00002,273,280
11Apr 22, 2025 23:364,21635,093,42813,492,00002,494,464
12Apr 22, 2025 23:084,21830,063,38813,499,00002,494,464
13Apr 22, 2025 23:384,22126,927,57513,508,00002,494,464
14Apr 22, 2025 23:084,22924,915,14113,532,00002,490,368
15Apr 22, 2025 23:364,23227,305,03313,541,00002,273,280
16Apr 22, 2025 23:084,23327,210,12113,547,00002,273,280
17Apr 22, 2025 23:364,24428,493,07413,580,00002,273,280
18Apr 22, 2025 23:084,24728,670,49613,590,00002,273,280
19Apr 22, 2025 23:084,24930,264,62713,596,00002,273,280
20Apr 22, 2025 23:084,25326,852,37513,609,00002,273,280
21Apr 22, 2025 23:084,26030,159,29213,631,00002,273,280
22Apr 22, 2025 23:384,26026,165,75913,631,00002,273,280
23Apr 22, 2025 23:084,26437,387,52013,645,00002,531,328
24Apr 22, 2025 23:384,28438,915,86213,709,00002,494,464