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 listApr 18, 2024 19:20Robert BurkeRobert BurkeScore: 4,411Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:204,39034,091,93412,042,0002,007,0002,445,312
2Apr 18, 2024 19:204,39828,994,28712,064,0002,010,0002,277,376
3Apr 18, 2024 19:204,39928,981,97212,066,0002,011,0002,453,504
4Apr 18, 2024 19:204,40126,157,94012,071,0002,011,0002,281,472
5Apr 18, 2024 19:204,40128,393,36912,072,0002,012,0002,277,376
6Apr 18, 2024 19:204,40228,940,48312,074,0002,012,0002,445,312
7Apr 18, 2024 19:204,41132,950,73912,098,0002,016,0002,281,472
8Apr 18, 2024 19:204,41732,396,02212,115,0002,019,0002,453,504
9Apr 18, 2024 19:204,42131,682,70912,127,0002,021,0002,277,376
10Apr 18, 2024 19:204,70580,007,61515,056,94902,199,552
11Apr 18, 2024 19:204,76874,916,88715,257,23802,199,552
12Apr 18, 2024 19:204,772101,329,04215,269,80302,203,648