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 18, 2021 13:26Yuriy LyfenkoYuriy LyfenkoScore: 5,635Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:255,5782,545,312,33616,860,000991,0002,519,040
2May 18, 2021 13:265,5822,812,023,07015,878,0001,984,0002,510,848
3May 18, 2021 13:265,586155,610,17315,772,0002,103,0002,523,136
4May 18, 2021 13:255,587165,629,39815,892,0001,986,0002,519,040
5May 18, 2021 13:265,588413,444,35416,831,0001,051,0002,519,040
6May 18, 2021 13:265,595551,279,90515,916,0001,989,0002,510,848
7May 18, 2021 13:255,605412,137,78615,825,0002,110,0002,523,136
8May 18, 2021 13:255,6152,365,768,29714,974,0002,994,0002,519,040
9May 18, 2021 13:255,6191,972,395,46016,924,0001,057,0002,510,848
10May 18, 2021 13:255,620816,801,26716,926,0001,057,0002,519,040
11May 18, 2021 13:265,630473,372,77917,015,0001,000,0002,523,136
12May 18, 2021 13:265,6342,922,615,13116,025,0002,003,0002,523,136
13May 18, 2021 13:265,6351,827,013,08814,850,0003,182,0002,519,040
14May 18, 2021 13:255,6492,826,304,52817,013,0001,063,0002,519,040
15May 18, 2021 13:265,652759,257,04617,081,0001,004,0002,519,040
16May 18, 2021 13:255,6582,202,788,09217,042,0001,065,0002,519,040
17May 18, 2021 13:265,6781,948,269,93115,141,0003,028,0002,519,040
18May 18, 2021 13:255,707760,006,33817,248,0001,014,0002,523,136
19May 18, 2021 13:255,7551,933,736,27318,416,16902,244,608
20May 18, 2021 13:255,7561,038,009,64918,418,46702,248,704
21May 18, 2021 13:265,7661,542,082,71318,449,66102,244,608
22May 18, 2021 13:265,7662,208,880,28018,452,29902,248,704
23May 18, 2021 13:265,776618,243,04718,483,93802,244,608
24May 18, 2021 13:255,7993,025,057,24918,557,74902,244,608