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 28, 2021 20:44Dmitry DolgopolovDmitry DolgopolovScore: 5,102Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:445,05137,400,52114,144,0002,020,0002,445,312
2May 28, 2021 20:445,05142,437,20014,143,0002,020,0002,535,424
3May 28, 2021 20:445,06441,183,97514,180,0002,025,0002,445,312
4May 28, 2021 20:445,07435,861,82614,209,0002,029,0002,441,216
5May 28, 2021 20:445,07636,013,16414,213,0002,030,0002,535,424
6May 28, 2021 20:445,07740,280,75314,216,0002,030,0002,445,312
7May 28, 2021 20:445,07833,496,38814,220,0002,031,0002,445,312
8May 28, 2021 20:445,08241,604,31814,230,0002,032,0002,449,408
9May 28, 2021 20:445,08346,362,41515,250,0001,016,0002,273,280
10May 28, 2021 20:445,08434,884,05415,252,0001,016,0002,445,312
11May 28, 2021 20:445,08940,111,78514,249,0002,035,0002,273,280
12May 28, 2021 20:445,10136,664,99515,303,0001,020,0002,437,120
13May 28, 2021 20:445,10237,263,60515,305,0001,020,0002,441,216
14May 28, 2021 20:445,10930,465,05315,328,0001,021,0002,449,408
15May 28, 2021 20:445,11632,098,61915,349,0001,023,0002,449,408
16May 28, 2021 20:445,11735,737,51515,351,0001,023,0002,449,408
17May 28, 2021 20:445,11836,833,73515,353,0001,023,0002,437,120
18May 28, 2021 20:445,12635,035,68915,377,0001,025,0002,535,424
19May 28, 2021 20:445,30371,790,86516,968,22302,207,744
20May 28, 2021 20:445,31640,183,05717,009,91102,199,552
21May 28, 2021 20:445,33648,308,73917,073,63802,199,552
22May 28, 2021 20:445,37975,624,02117,212,44202,256,896
23May 28, 2021 20:445,39777,359,51017,269,78102,203,648
24May 28, 2021 20:445,39867,677,67317,272,44902,195,456