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 listMay 24, 2021 19:28Dmitry DolgopolovDmitry DolgopolovScore: 5,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 19:284,99436,150,43013,985,0001,997,0002,273,280
2May 24, 2021 19:284,99532,758,98313,987,0001,998,0002,437,120
3May 24, 2021 19:284,99635,988,00513,988,0001,998,0002,273,280
4May 24, 2021 19:284,99944,148,85413,998,0001,999,0002,535,424
5May 24, 2021 19:284,99937,119,13213,998,0001,999,0002,453,504
6May 24, 2021 19:285,00333,782,82814,009,0002,001,0002,535,424
7May 24, 2021 19:285,00532,585,72814,014,0002,002,0002,269,184
8May 24, 2021 19:285,00637,050,53214,018,0002,002,0002,445,312
9May 24, 2021 19:285,00631,603,45614,017,0002,002,0002,453,504
10May 24, 2021 19:285,00936,681,48714,025,0002,003,0002,437,120
11May 24, 2021 19:285,00935,180,92314,025,0002,003,0002,273,280
12May 24, 2021 19:285,01229,483,18414,033,0002,004,0002,437,120
13May 24, 2021 19:285,01240,740,34714,034,0002,004,0002,273,280
14May 24, 2021 19:285,01433,826,29414,041,0002,005,0002,535,424
15May 24, 2021 19:285,01538,181,33514,043,0002,006,0002,441,216
16May 24, 2021 19:285,01635,801,89714,044,0002,006,0002,449,408
17May 24, 2021 19:285,01741,998,57214,047,0002,006,0002,273,280
18May 24, 2021 19:285,02131,354,93514,059,0002,008,0002,273,280
19May 24, 2021 19:285,02842,433,71314,078,0002,011,0002,535,424
20May 24, 2021 19:285,02936,939,54515,089,0001,005,0002,449,408
21May 24, 2021 19:285,03230,133,21814,089,0002,012,0002,535,424
22May 24, 2021 19:285,03331,348,31814,092,0002,013,0002,445,312
23May 24, 2021 19:285,03338,827,44715,101,0001,006,0002,273,280
24May 24, 2021 19:285,04435,269,39214,125,0002,017,0002,445,312
25May 24, 2021 19:285,04629,372,38614,129,0002,018,0002,265,088
26May 24, 2021 19:285,05735,086,04714,160,0002,022,0002,535,424
27May 24, 2021 19:285,11242,265,20215,337,0001,022,0002,445,312
28May 24, 2021 19:285,22439,970,41416,716,74602,256,896
29May 24, 2021 19:285,24655,084,08916,787,65502,199,552
30May 24, 2021 19:285,25291,723,01216,806,75402,260,992
31May 24, 2021 19:285,25587,056,70616,816,48602,203,648
32May 24, 2021 19:285,25867,679,42116,824,78102,199,552
33May 24, 2021 19:285,27148,607,21216,867,51202,199,552
34May 24, 2021 19:285,274104,001,86716,876,94802,203,648
35May 24, 2021 19:285,28155,852,84116,898,29202,195,456
36May 24, 2021 19:285,31483,380,80617,006,25502,211,840