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 13, 2021 19:38alex3dalex3dScore: 5,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:385,15841,721,75515,475,0001,031,0002,535,424
2May 13, 2021 19:385,16131,448,74715,483,0001,032,0002,441,216
3May 13, 2021 19:385,16638,651,81215,498,0001,033,0002,445,312
4May 13, 2021 19:385,16636,985,20115,499,0001,033,0002,535,424
5May 13, 2021 19:385,17335,308,84315,521,0001,034,0002,273,280
6May 13, 2021 19:385,17843,590,03315,535,0001,035,0002,273,280
7May 13, 2021 19:385,18235,103,71115,545,0001,036,0002,535,424
8May 13, 2021 19:385,18529,886,65415,556,0001,037,0002,273,280
9May 13, 2021 19:385,18631,237,15515,559,0001,037,0002,535,424
10May 13, 2021 19:385,18637,936,92915,558,0001,037,0002,531,328
11May 13, 2021 19:385,18932,579,78615,569,0001,037,0002,445,312
12May 13, 2021 19:385,19144,476,03315,573,0001,038,0002,445,312
13May 13, 2021 19:385,19141,833,89915,572,0001,038,0002,445,312
14May 13, 2021 19:385,19129,617,23215,574,0001,038,0002,535,424
15May 13, 2021 19:385,19544,088,01015,586,0001,039,0002,449,408
16May 13, 2021 19:385,20134,399,72015,604,0001,040,0002,273,280
17May 13, 2021 19:385,20332,488,07615,610,0001,040,0002,441,216
18May 13, 2021 19:385,20342,191,41216,650,00002,441,216
19May 13, 2021 19:385,41167,905,17017,315,56102,207,744
20May 13, 2021 19:385,42466,073,50417,357,90802,199,552
21May 13, 2021 19:385,43068,874,94817,376,45402,199,552
22May 13, 2021 19:385,43380,247,51717,384,54602,207,744
23May 13, 2021 19:385,45883,612,72317,465,24302,191,360
24May 13, 2021 19:385,46389,403,07017,480,14502,195,456