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 listNov 16, 2024 16:00ndbnndbnScore: 5,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 16, 2024 16:005,44739,743,54516,404,0001,025,0002,281,472
2Nov 16, 2024 16:005,45237,623,97516,420,0001,026,0002,486,272
3Nov 16, 2024 16:005,45334,240,08917,449,00002,478,080
4Nov 16, 2024 16:005,46038,375,36817,471,00002,473,984
5Nov 16, 2024 16:005,46033,578,10117,472,00002,490,368
6Nov 16, 2024 16:005,48638,554,82416,524,0001,032,0002,281,472
7Nov 16, 2024 16:005,48741,014,51016,527,0001,032,0002,490,368
8Nov 16, 2024 16:005,48840,812,90617,563,00002,281,472
9Nov 16, 2024 16:005,49040,225,62216,536,0001,033,0002,482,176