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 19, 2021 23:23alex3dalex3dScore: 4,881Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:234,84237,732,77914,462,0001,033,0002,449,408
2May 19, 2021 23:234,84436,602,42114,467,0001,033,0002,449,408
3May 19, 2021 23:234,84937,702,52314,483,0001,034,0002,441,216
4May 19, 2021 23:234,85029,945,88914,485,0001,034,0002,535,424
5May 19, 2021 23:234,85238,941,27414,491,0001,035,0002,445,312
6May 19, 2021 23:234,85336,657,67014,495,0001,035,0002,441,216
7May 19, 2021 23:234,85427,699,62814,498,0001,035,0002,441,216
8May 19, 2021 23:234,85837,700,42514,510,0001,036,0002,437,120
9May 19, 2021 23:234,85838,118,14414,509,0001,036,0002,273,280
10May 19, 2021 23:234,85931,836,13914,513,0001,036,0002,535,424
11May 19, 2021 23:234,86332,182,14714,523,0001,037,0002,441,216
12May 19, 2021 23:234,86531,108,96314,530,0001,037,0002,531,328
13May 19, 2021 23:234,86534,505,16714,531,0001,037,0002,449,408
14May 19, 2021 23:234,86831,582,73314,539,0001,038,0002,535,424
15May 19, 2021 23:234,87037,325,07614,545,0001,038,0002,273,280
16May 19, 2021 23:234,87031,403,99714,545,0001,038,0002,449,408
17May 19, 2021 23:234,87042,010,40314,545,0001,038,0002,445,312
18May 19, 2021 23:234,87231,441,33315,591,00002,273,280
19May 19, 2021 23:234,87336,222,33314,556,0001,039,0002,441,216
20May 19, 2021 23:234,87335,134,96015,592,00002,437,120
21May 19, 2021 23:234,87645,539,13114,562,0001,040,0002,273,280
22May 19, 2021 23:234,87743,624,76014,566,0001,040,0002,441,216
23May 19, 2021 23:234,88140,409,96214,579,0001,041,0002,273,280
24May 19, 2021 23:234,88246,370,06914,582,0001,041,0002,441,216
25May 19, 2021 23:234,88644,880,54715,636,00002,273,280
26May 19, 2021 23:234,88834,689,62914,600,0001,042,0002,441,216
27May 19, 2021 23:234,88847,328,63015,643,00002,535,424
28May 19, 2021 23:235,10079,988,20216,320,98702,207,744
29May 19, 2021 23:235,10587,670,77616,337,34702,203,648
30May 19, 2021 23:235,10779,687,44916,341,79902,195,456
31May 19, 2021 23:235,11777,669,41816,374,87602,260,992
32May 19, 2021 23:235,12380,212,52816,392,05802,191,360
33May 19, 2021 23:235,12584,816,96116,398,44402,203,648
34May 19, 2021 23:235,12966,720,45016,412,38402,199,552
35May 19, 2021 23:235,13269,809,42016,422,45902,211,840
36May 19, 2021 23:235,14275,336,44516,453,36902,207,744
37May 19, 2021 23:235,14260,948,14816,453,77202,199,552
38May 19, 2021 23:235,14395,048,45816,456,40102,203,648
39May 19, 2021 23:235,14882,307,59516,474,74702,203,648
40May 19, 2021 23:235,15872,723,14116,506,51002,203,648
41May 19, 2021 23:235,15977,500,97916,507,27802,195,456
42May 19, 2021 23:235,16458,321,17716,525,14202,195,456
43May 19, 2021 23:235,16976,179,77816,539,95502,203,648
44May 19, 2021 23:235,18392,025,18416,585,17702,207,744
45May 19, 2021 23:235,18988,879,48716,604,12902,199,552