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 21:18Yuriy LyfenkoYuriy LyfenkoScore: 5,278Success
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 21:185,223259,843,78314,749,0001,966,0002,527,232
2May 17, 2021 21:185,2322,613,212,21815,759,000984,0002,523,136
3May 17, 2021 21:185,2362,772,025,30415,771,000985,0002,523,136
4May 17, 2021 21:185,2431,744,323,26414,804,0001,973,0002,260,992
5May 17, 2021 21:185,2452,076,715,41213,637,0003,147,0002,260,992
6May 17, 2021 21:185,247141,768,97514,814,0001,975,0002,519,040
7May 17, 2021 21:185,2491,700,734,89114,821,0001,976,0002,260,992
8May 17, 2021 21:185,249233,814,77314,820,0001,976,0002,265,088
9May 17, 2021 21:185,251810,886,03515,815,000988,0002,392,064
10May 17, 2021 21:185,255818,276,83814,837,0001,978,0002,260,992
11May 17, 2021 21:185,2581,068,768,67915,836,000989,0002,523,136
12May 17, 2021 21:185,259991,487,07816,829,00002,265,088
13May 17, 2021 21:185,261434,781,80516,836,00002,523,136
14May 17, 2021 21:185,2651,803,910,52113,875,0002,973,0002,260,992
15May 17, 2021 21:185,2681,312,369,08014,876,0001,983,0002,519,040
16May 17, 2021 21:185,2751,441,294,89814,894,0001,985,0002,527,232
17May 17, 2021 21:185,275521,388,24114,894,0001,985,0002,265,088
18May 17, 2021 21:185,278651,263,03815,950,000938,0002,260,992
19May 17, 2021 21:185,278915,596,87014,902,0001,986,0002,519,040
20May 17, 2021 21:185,278775,115,76414,904,0001,987,0002,265,088
21May 17, 2021 21:185,2832,228,680,68113,922,0002,983,0002,519,040
22May 17, 2021 21:185,2831,929,684,49315,913,000994,0002,260,992
23May 17, 2021 21:185,2852,582,764,56914,922,0001,989,0002,523,136
24May 17, 2021 21:185,2951,135,299,41214,950,0001,993,0002,523,136
25May 17, 2021 21:185,2952,438,403,99614,950,0001,993,0002,265,088
26May 17, 2021 21:185,2961,113,180,59015,064,0001,883,0002,265,088
27May 17, 2021 21:185,305336,538,16513,980,0002,995,0002,523,136
28May 17, 2021 21:185,401972,222,57017,283,37002,281,472
29May 17, 2021 21:185,407812,797,97917,301,31302,281,472
30May 17, 2021 21:185,410271,446,51217,310,60102,285,568
31May 17, 2021 21:185,4122,666,903,96917,317,25402,281,472
32May 17, 2021 21:185,4201,884,914,62017,343,74702,281,472
33May 17, 2021 21:185,435619,198,21117,391,15602,281,472
34May 17, 2021 21:185,4432,579,410,36817,419,12002,281,472
35May 17, 2021 21:185,447184,248,96617,431,39902,281,472
36May 17, 2021 21:185,4492,057,267,85517,437,45202,281,472