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 listJun 30, 2024 17:20AnSaAnSaScore: 4,744Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:204,71430,870,63114,079,0001,005,0002,486,272
2Jun 30, 2024 17:204,71434,882,76413,074,0002,011,0002,531,328
3Jun 30, 2024 17:204,71635,080,78614,085,0001,006,0002,498,560
4Jun 30, 2024 17:204,72136,229,49013,092,0002,014,0002,490,368
5Jun 30, 2024 17:204,72636,582,36514,116,0001,008,0002,531,328
6Jun 30, 2024 17:204,72931,048,71912,106,0003,026,0002,490,368
7Jun 30, 2024 17:204,74428,618,14014,168,0001,012,0002,531,328
8Jun 30, 2024 17:204,74935,637,26314,184,0001,013,0002,490,368
9Jun 30, 2024 17:204,75648,310,55514,206,0001,014,0002,494,464
10Jun 30, 2024 17:204,96879,008,80015,898,17502,248,704
11Jun 30, 2024 17:204,98088,283,41615,935,12702,248,704
12Jun 30, 2024 17:204,98778,012,19015,958,73502,383,872