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 listSep 19, 2022 10:42Kenneth MaplesKenneth MaplesScore: 5,317Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 10:425,28038,145,79614,908,0001,987,0002,519,040
2Sep 19, 2022 10:425,29941,533,57114,962,0001,995,0002,260,992
3Sep 19, 2022 10:425,30250,296,53014,971,0001,996,0002,519,040
4Sep 19, 2022 10:425,30341,585,97613,976,0002,995,0002,519,040
5Sep 19, 2022 10:425,30438,287,08215,976,000998,0002,519,040
6Sep 19, 2022 10:425,31045,431,98814,994,0001,999,0002,519,040
7Sep 19, 2022 10:425,31746,749,70716,015,0001,000,0002,392,064
8Sep 19, 2022 10:425,32836,410,66216,048,0001,003,0002,387,968
9Sep 19, 2022 10:425,34146,016,83416,086,0001,005,0002,392,064
10Sep 19, 2022 10:425,52490,800,46617,676,03902,285,568
11Sep 19, 2022 10:425,52966,888,35617,692,35802,277,376
12Sep 19, 2022 10:425,56776,359,32517,814,91302,269,184