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:24alex3dalex3dScore: 4,762Success
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:244,72331,818,08813,099,0002,015,0002,273,280
2May 19, 2021 23:244,72842,569,90013,111,0002,017,0002,445,312
3May 19, 2021 23:244,73131,217,23413,120,0002,018,0002,535,424
4May 19, 2021 23:244,73431,056,35713,129,0002,019,0002,449,408
5May 19, 2021 23:244,73433,262,52613,130,0002,020,0002,535,424
6May 19, 2021 23:244,73740,610,54913,137,0002,021,0002,445,312
7May 19, 2021 23:244,73832,459,35813,141,0002,021,0002,445,312
8May 19, 2021 23:244,73936,192,16113,143,0002,022,0002,535,424
9May 19, 2021 23:244,74040,663,73613,147,0002,022,0002,273,280
10May 19, 2021 23:244,74231,726,57013,152,0002,023,0002,441,216
11May 19, 2021 23:244,74232,512,40713,150,0002,023,0002,437,120
12May 19, 2021 23:244,74434,288,56613,156,0002,024,0002,535,424
13May 19, 2021 23:244,74533,254,36813,160,0002,024,0002,531,328
14May 19, 2021 23:244,74637,032,86913,162,0002,024,0002,437,120
15May 19, 2021 23:244,74627,195,32013,163,0002,025,0002,273,280
16May 19, 2021 23:244,74833,903,61913,167,0002,025,0002,273,280
17May 19, 2021 23:244,74936,861,95613,172,0002,026,0002,535,424
18May 19, 2021 23:244,74929,786,32413,171,0002,026,0002,449,408
19May 19, 2021 23:244,75135,411,63913,175,0002,027,0002,531,328
20May 19, 2021 23:244,75136,685,89813,176,0002,027,0002,437,120
21May 19, 2021 23:244,75737,546,01813,193,0002,029,0002,535,424
22May 19, 2021 23:244,76134,697,62113,205,0002,031,0002,449,408
23May 19, 2021 23:244,76231,241,14714,222,0001,015,0002,445,312
24May 19, 2021 23:244,76331,091,07714,226,0001,016,0002,535,424
25May 19, 2021 23:244,76325,953,05013,211,0002,032,0002,273,280
26May 19, 2021 23:244,76631,817,98913,217,0002,033,0002,441,216
27May 19, 2021 23:244,77030,294,21113,230,0002,035,0002,535,424
28May 19, 2021 23:244,97055,737,85515,904,35602,199,552
29May 19, 2021 23:244,97178,234,26815,906,45602,195,456
30May 19, 2021 23:244,99294,761,64915,974,41802,207,744
31May 19, 2021 23:244,99554,512,75115,985,23502,211,840
32May 19, 2021 23:244,99570,930,59215,984,36902,199,552
33May 19, 2021 23:244,99677,130,36015,987,44002,199,552
34May 19, 2021 23:244,99971,950,76015,997,98702,203,648
35May 19, 2021 23:245,00281,456,27416,006,01302,203,648
36May 19, 2021 23:245,00684,234,88916,018,67802,199,552
37May 19, 2021 23:245,00977,740,05316,027,69502,195,456
38May 19, 2021 23:245,01069,242,58116,033,55802,203,648
39May 19, 2021 23:245,01276,330,02616,038,80702,195,456
40May 19, 2021 23:245,01481,037,25216,044,92702,199,552
41May 19, 2021 23:245,01776,014,78516,054,24202,199,552
42May 19, 2021 23:245,02585,139,39016,081,16802,203,648
43May 19, 2021 23:245,04291,295,75716,135,61302,256,896
44May 19, 2021 23:245,06583,930,32816,207,41602,195,456
45May 19, 2021 23:245,06789,436,95616,213,17902,203,648