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 19, 2024 08:11Huy Duc LeHuy Duc LeScore: 5,508Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 08:115,48233,230,38016,510,0001,031,0002,273,280
2Feb 19, 2024 08:115,49449,814,01216,547,0001,034,0002,273,280
3Feb 19, 2024 08:115,49740,305,67317,591,00002,527,232
4Feb 19, 2024 08:115,50038,586,09316,566,0001,035,0002,293,760
5Feb 19, 2024 08:115,50043,898,45116,566,0001,035,0002,269,184
6Feb 19, 2024 08:115,50535,977,75116,580,0001,036,0002,293,760
7Feb 19, 2024 08:115,50839,272,43916,589,0001,036,0002,293,760
8Feb 19, 2024 08:115,51545,981,16116,611,0001,038,0002,523,136
9Feb 19, 2024 08:115,53747,835,55717,719,00002,527,232
10Feb 19, 2024 08:115,68195,306,19018,179,08802,179,072
11Feb 19, 2024 08:115,70879,638,21618,264,34802,306,048
12Feb 19, 2024 08:115,72070,622,70518,305,44302,297,856