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 16, 2021 12:24Yuriy LyfenkoYuriy LyfenkoScore: 5,689Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 12:235,41641,723,21015,406,0001,925,0002,265,088
2May 16, 2021 12:235,42045,286,40513,490,0003,854,0002,396,160
3May 16, 2021 12:235,42650,612,29616,399,000964,0002,400,256
4May 16, 2021 12:235,42937,349,07916,407,000965,0002,265,088
5May 16, 2021 12:235,43344,083,03716,420,000965,0002,383,872
6May 16, 2021 12:235,43344,074,81214,488,0002,897,0002,265,088
7May 16, 2021 12:235,44034,628,76415,473,0001,934,0002,396,160
8May 16, 2021 12:235,44345,413,15415,483,0001,935,0002,387,968
9May 16, 2021 12:235,45634,367,17915,520,0001,940,0002,396,160
10May 16, 2021 12:245,64944,220,96817,072,0001,004,0002,265,088
11May 16, 2021 12:235,66261,574,17318,116,91202,277,376
12May 16, 2021 12:235,66669,240,24918,129,89302,277,376
13May 16, 2021 12:235,68480,868,68518,187,81602,281,472
14May 16, 2021 12:245,68947,404,68518,204,00002,265,088
15May 16, 2021 12:245,69347,819,90016,301,0001,917,0002,265,088
16May 16, 2021 12:245,69643,687,31016,310,0001,918,0002,465,792
17May 16, 2021 12:245,69644,528,70414,390,0003,837,0002,392,064
18May 16, 2021 12:245,69843,356,27417,275,000959,0002,269,184
19May 16, 2021 12:245,69849,029,28116,314,0001,919,0002,392,064
20May 16, 2021 12:245,70545,288,84317,241,0001,014,0002,265,088
21May 16, 2021 12:245,70844,621,02817,250,0001,014,0002,396,160
22May 16, 2021 12:246,11678,125,83819,572,67602,285,568
23May 16, 2021 12:246,14492,758,04319,660,79502,273,280
24May 16, 2021 12:246,18397,423,88919,787,08702,277,376
25May 16, 2021 12:2415,829121,078,39650,653,76402,277,376
26May 16, 2021 12:2415,838125,891,26950,681,49802,281,472
27May 16, 2021 12:2415,843119,390,03650,697,60002,277,376