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 19:07Yuriy LyfenkoYuriy LyfenkoScore: 5,584Success
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 19:075,5462,186,532,83215,775,0001,971,0002,523,136
2May 16, 2021 19:075,546521,308,13114,789,0002,957,0002,523,136
3May 16, 2021 19:075,5461,274,947,69514,789,0002,957,0002,265,088
4May 16, 2021 19:075,5483,158,273,38615,781,0001,972,0002,523,136
5May 16, 2021 19:075,5533,867,626,26817,770,00002,523,136
6May 16, 2021 19:075,5562,917,991,74317,780,00002,265,088
7May 16, 2021 19:075,5592,612,290,45716,801,000988,0002,523,136
8May 16, 2021 19:075,5642,595,625,56213,849,0003,957,0002,260,992
9May 16, 2021 19:075,567301,252,90915,835,0001,979,0002,523,136
10May 16, 2021 19:075,569858,835,20315,841,0001,980,0002,523,136
11May 16, 2021 19:075,5713,614,377,56314,856,0002,971,0002,523,136
12May 16, 2021 19:075,5714,724,286,86716,838,000990,0002,527,232
13May 16, 2021 19:075,575621,068,58016,849,000991,0002,260,992
14May 16, 2021 19:075,5764,538,986,61215,860,0001,982,0002,260,992
15May 16, 2021 19:075,5762,762,047,49715,861,0001,982,0002,514,944
16May 16, 2021 19:075,5784,974,195,73317,851,00002,523,136
17May 16, 2021 19:075,5812,427,844,74216,868,000992,0002,523,136
18May 16, 2021 19:075,5842,457,758,86315,884,0001,985,0002,519,040
19May 16, 2021 19:075,584235,602,51316,878,000992,0002,260,992
20May 16, 2021 19:075,5851,587,159,75017,871,00002,510,848
21May 16, 2021 19:075,587480,440,65515,891,0001,986,0002,260,992
22May 16, 2021 19:075,5893,028,747,97515,897,0001,987,0002,260,992
23May 16, 2021 19:075,5902,676,957,91514,906,0002,981,0002,523,136
24May 16, 2021 19:075,5954,274,128,06915,916,0001,989,0002,519,040
25May 16, 2021 19:075,5962,790,082,40614,924,0002,984,0002,260,992
26May 16, 2021 19:075,5982,905,367,23014,927,0002,985,0002,527,232
27May 16, 2021 19:075,6022,014,095,58315,934,0001,991,0002,269,184
28May 16, 2021 19:075,7332,462,171,13818,345,61002,289,664
29May 16, 2021 19:075,744355,689,20618,380,89602,281,472
30May 16, 2021 19:075,7471,353,524,77418,391,89102,277,376
31May 16, 2021 19:075,7502,993,317,69418,401,50802,285,568
32May 16, 2021 19:075,7522,052,925,91518,407,95902,285,568
33May 16, 2021 19:075,7533,469,169,94818,410,76302,281,472
34May 16, 2021 19:075,7542,276,323,01418,413,61302,281,472
35May 16, 2021 19:075,758464,862,48418,424,73702,281,472
36May 16, 2021 19:075,765706,716,19018,447,37002,277,376