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 21:59Jack FrigaardJack FrigaardScore: 4,823Success
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 21:594,77838,714,58814,269,0001,019,0002,527,232
2Jan 2, 2023 21:594,77930,343,52914,274,0001,019,0002,277,376
3Jan 2, 2023 21:594,78133,683,82913,260,0002,040,0002,527,232
4Jan 2, 2023 21:594,78430,639,08313,269,0002,041,0002,269,184
5Jan 2, 2023 21:594,79236,187,01413,289,0002,044,0002,285,568
6Jan 2, 2023 21:594,80832,010,01214,360,0001,025,0002,285,568
7Jan 2, 2023 21:594,82339,430,64014,404,0001,028,0002,527,232
8Jan 2, 2023 21:594,82431,499,91015,437,00002,273,280
9Jan 2, 2023 21:594,86132,691,08415,555,00002,285,568
10Jan 2, 2023 21:595,071105,473,96816,226,99302,293,760
11Jan 2, 2023 21:595,09577,901,13316,304,58202,297,856
12Jan 2, 2023 21:595,10395,563,33516,330,14102,293,760