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 listFeb 22, 2024 12:54Huy Duc LeHuy Duc LeScore: 5,068Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:545,04139,359,58315,124,0001,008,0002,293,760
2Feb 22, 2024 12:545,04437,049,42815,132,0001,008,0002,277,376
3Feb 22, 2024 12:545,04640,614,01815,137,0001,009,0002,293,760
4Feb 22, 2024 12:545,05336,227,56114,148,0002,021,0002,293,760
5Feb 22, 2024 12:545,06343,511,81514,177,0002,025,0002,293,760
6Feb 22, 2024 12:545,06333,758,90714,177,0002,025,0002,269,184
7Feb 22, 2024 12:545,06841,017,94614,191,0002,027,0002,293,760
8Feb 22, 2024 12:545,07239,798,52514,201,0002,028,0002,293,760
9Feb 22, 2024 12:545,09037,106,20514,252,0002,036,0002,535,424
10Feb 22, 2024 12:545,26365,035,96016,841,09502,297,856
11Feb 22, 2024 12:545,26391,809,81116,842,75502,297,856
12Feb 22, 2024 12:545,28681,140,92816,915,27802,301,952