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 13:33Yuriy LyfenkoYuriy LyfenkoScore: 5,539Success
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 13:335,4802,678,241,20416,562,000974,0002,523,136
2May 17, 2021 13:345,4831,430,873,69515,596,0001,949,0002,265,088
3May 17, 2021 13:345,500584,995,31616,566,0001,035,0002,265,088
4May 17, 2021 13:335,5001,118,023,22015,644,0001,955,0002,269,184
5May 17, 2021 13:335,5011,727,317,14016,625,000977,0002,265,088
6May 17, 2021 13:345,504731,063,35315,656,0001,957,0002,527,232
7May 17, 2021 13:345,5053,613,402,50215,658,0001,957,0002,269,184
8May 17, 2021 13:335,5084,059,730,87817,625,00002,265,088
9May 17, 2021 13:335,512392,684,47616,658,000979,0002,269,184
10May 17, 2021 13:345,512608,492,83317,637,00002,527,232
11May 17, 2021 13:335,5194,178,988,03315,699,0001,962,0002,400,256
12May 17, 2021 13:345,5234,918,669,83616,692,000981,0002,527,232
13May 17, 2021 13:345,5392,584,192,73016,684,0001,042,0002,265,088
14May 17, 2021 13:335,5451,859,413,04115,773,0001,971,0002,269,184
15May 17, 2021 13:335,5524,287,592,65914,027,0003,740,0002,260,992
16May 17, 2021 13:335,5584,515,317,70716,796,000988,0002,265,088
17May 17, 2021 13:345,5611,013,067,52316,750,0001,046,0002,265,088
18May 17, 2021 13:345,5631,690,844,14417,800,00002,265,088
19May 17, 2021 13:345,668583,762,57718,139,07902,277,376
20May 17, 2021 13:335,682152,537,78218,183,18002,277,376
21May 17, 2021 13:345,6863,867,921,57218,194,06302,277,376
22May 17, 2021 13:335,6914,929,621,20818,209,76602,277,376
23May 17, 2021 13:345,7101,841,393,83518,271,28402,277,376
24May 17, 2021 13:335,730397,296,71818,337,10002,277,376