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 14:55Jack FrigaardJack FrigaardScore: 5,488Success
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 14:555,40139,277,72315,249,0002,033,0002,285,568
2Jan 2, 2023 14:555,43941,306,39115,358,0002,047,0002,269,184
3Jan 2, 2023 14:555,44642,150,38615,378,0002,050,0002,527,232
4Jan 2, 2023 14:555,46248,590,92716,451,0001,028,0002,285,568
5Jan 2, 2023 14:555,47038,501,39216,474,0001,029,0002,379,776
6Jan 2, 2023 14:555,48636,952,49416,522,0001,032,0002,281,472
7Jan 2, 2023 14:555,48840,174,01617,563,00002,285,568
8Jan 2, 2023 14:555,49340,998,41116,545,0001,034,0002,285,568
9Jan 2, 2023 14:555,50336,389,48116,575,0001,035,0002,285,568
10Jan 2, 2023 14:555,651102,293,75118,082,14602,256,896
11Jan 2, 2023 14:555,65795,787,89418,101,37602,293,760
12Jan 2, 2023 14:555,67379,236,48518,153,62502,301,952