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 listJul 24, 2022 10:46Robert BurkeRobert BurkeScore: 4,564Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 10:464,52631,598,68914,483,00002,281,472
2Jul 24, 2022 10:464,53738,117,77814,517,00002,433,024
3Jul 24, 2022 10:464,54730,618,94114,549,00002,281,472
4Jul 24, 2022 10:464,54930,042,03714,556,00002,433,024
5Jul 24, 2022 10:464,55335,324,79214,568,00002,281,472
6Jul 24, 2022 10:464,55331,887,82613,530,0001,040,0002,277,376
7Jul 24, 2022 10:464,56439,437,18714,604,00002,281,472
8Jul 24, 2022 10:464,57946,991,58514,652,00002,514,944
9Jul 24, 2022 10:464,58236,686,91013,616,0001,047,0002,428,928
10Jul 24, 2022 10:464,76289,998,29515,237,27002,260,992
11Jul 24, 2022 10:464,77971,263,98215,292,25002,179,072
12Jul 24, 2022 10:464,79079,499,01615,327,25102,183,168