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 listJan 2, 2023 18:53Alexander KimAlexander KimScore: 5,663Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 18:535,61746,014,33714,978,0002,995,0002,334,720
2Dec 28, 2022 22:045,62432,584,20216,999,000999,0002,334,720
3Jan 2, 2023 18:535,63342,975,50917,025,0001,001,0002,334,720
4Dec 28, 2022 22:045,63648,351,99615,030,0003,006,0002,334,720
5Dec 28, 2022 22:045,63843,918,26416,039,0002,004,0002,334,720
6Dec 28, 2022 22:045,63947,813,47117,043,0001,002,0002,531,328
7Jan 2, 2023 18:535,64242,012,11716,048,0002,006,0002,535,424
8Dec 28, 2022 22:045,64544,315,32816,058,0002,007,0002,334,720
9Dec 28, 2022 22:045,65546,906,30517,092,0001,005,0002,334,720
10Jan 2, 2023 18:535,65744,240,21716,092,0002,011,0002,334,720
11Jan 2, 2023 18:535,65845,762,04716,095,0002,011,0002,334,720
12Jan 2, 2023 18:535,66343,443,02117,116,0001,006,0002,535,424
13Dec 28, 2022 22:045,66345,730,62316,109,0002,013,0002,535,424
14Jan 2, 2023 18:535,66540,327,56117,121,0001,007,0002,334,720
15Jan 2, 2023 18:535,66642,919,01116,117,0002,014,0002,334,720
16Dec 28, 2022 22:045,66646,322,02316,117,0002,014,0002,334,720
17Jan 2, 2023 18:535,67540,341,13615,134,0003,026,0002,281,472
18Dec 28, 2022 22:045,69240,209,41416,191,0002,023,0002,334,720
19Dec 28, 2022 22:045,70781,222,57118,260,80202,244,608
20Dec 28, 2022 22:045,71482,115,37518,283,73102,244,608
21Jan 2, 2023 18:535,75158,971,20618,404,53402,240,512
22Jan 2, 2023 18:535,82090,665,85718,623,48302,244,608
23Jan 2, 2023 18:535,82580,764,17918,639,21402,244,608
24Dec 28, 2022 22:045,84391,651,90918,697,28902,240,512