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 listJun 9, 2024 20:28джулисджулисScore: 5,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:285,30241,476,79215,969,000998,0002,289,664
2Jun 9, 2024 20:285,30443,407,12115,975,000998,0002,371,584
3Jun 9, 2024 20:285,30642,808,38014,983,0001,997,0002,478,080
4Jun 9, 2024 20:285,30742,914,88614,984,0001,997,0002,293,760
5Jun 9, 2024 20:285,31134,891,34614,995,0001,999,0002,367,488
6Jun 9, 2024 20:285,33440,531,71815,062,0002,008,0002,371,584
7Jun 9, 2024 20:285,33543,193,61115,063,0002,008,0002,469,888
8Jun 9, 2024 20:285,33740,456,09115,070,0002,009,0002,478,080
9Jun 9, 2024 20:285,34544,224,77315,092,0002,012,0002,375,680
10Jun 9, 2024 20:285,51176,308,35917,635,19902,248,704
11Jun 9, 2024 20:285,58282,853,95617,861,23802,232,320
12Jun 9, 2024 20:285,73184,339,45518,340,77202,252,800