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 17, 2021 19:43Yuriy LyfenkoYuriy LyfenkoScore: 5,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:465,3222,893,581,57515,137,0001,892,0002,396,160
2May 17, 2021 19:435,323248,101,60816,032,0001,002,0002,269,184
3May 17, 2021 19:435,3232,601,072,64615,029,0002,003,0002,265,088
4May 17, 2021 19:435,3241,842,020,97016,034,0001,002,0002,260,992
5May 17, 2021 19:465,3311,477,570,00014,928,0002,132,0002,260,992
6May 17, 2021 19:435,3311,541,340,37015,052,0002,006,0002,265,088
7May 17, 2021 19:435,340788,606,27716,083,0001,005,0002,523,136
8May 17, 2021 19:435,3402,483,007,64616,084,0001,005,0002,265,088
9May 17, 2021 19:435,340913,245,87817,087,00002,269,184
10May 17, 2021 19:465,3411,469,915,78617,092,00002,265,088
11May 17, 2021 19:465,3442,530,919,77916,095,0001,005,0002,523,136
12May 17, 2021 19:435,3461,478,342,45815,095,0002,012,0002,265,088
13May 17, 2021 19:465,351463,566,88616,117,0001,007,0002,269,184
14May 17, 2021 19:435,356748,274,09816,131,0001,008,0002,269,184
15May 17, 2021 19:435,3562,705,032,18514,282,0002,856,0002,265,088
16May 17, 2021 19:435,3561,154,060,38015,235,0001,904,0002,265,088
17May 17, 2021 19:435,3571,180,715,96715,125,0002,016,0002,265,088
18May 17, 2021 19:465,3571,254,306,59217,143,00002,269,184
19May 17, 2021 19:435,3601,472,988,19717,151,00002,396,160
20May 17, 2021 19:465,363754,973,97215,256,0001,907,0002,400,256
21May 17, 2021 19:435,3632,832,810,31216,154,0001,009,0002,527,232
22May 17, 2021 19:465,3642,485,794,01116,156,0001,009,0002,527,232
23May 17, 2021 19:435,3651,521,010,54714,308,0002,861,0002,265,088
24May 17, 2021 19:435,373897,438,02615,170,0002,022,0002,527,232
25May 17, 2021 19:435,3791,123,673,19116,258,000956,0002,269,184
26May 17, 2021 19:435,3801,374,653,98417,216,00002,269,184
27May 17, 2021 19:465,407128,690,63316,341,000961,0002,269,184
28May 17, 2021 19:465,5261,388,663,10117,682,21702,277,376
29May 17, 2021 19:435,5302,153,148,50317,696,52602,281,472
30May 17, 2021 19:435,5321,166,376,09617,703,51702,277,376
31May 17, 2021 19:435,5361,519,618,65417,716,56402,277,376
32May 17, 2021 19:435,5371,241,197,54917,719,59102,281,472
33May 17, 2021 19:465,5452,692,590,98917,743,81802,277,376
34May 17, 2021 19:435,5501,951,112,03317,759,84002,281,472
35May 17, 2021 19:465,5712,839,059,05117,828,12102,281,472
36May 17, 2021 19:435,576281,318,42817,844,29002,273,280