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 13:19Huy Duc LeHuy Duc LeScore: 4,860Success
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 13:194,81836,543,02715,418,00002,289,664
2Feb 22, 2024 13:194,82334,608,01614,404,0001,028,0002,265,088
3Feb 22, 2024 13:194,82637,229,45514,414,0001,029,0002,273,280
4Feb 22, 2024 13:194,83136,182,94014,430,0001,030,0002,289,664
5Feb 22, 2024 13:194,83531,168,75114,442,0001,031,0002,383,872
6Feb 22, 2024 13:194,84533,107,05714,470,0001,033,0002,371,584
7Feb 22, 2024 13:194,86037,118,36015,551,00002,289,664
8Feb 22, 2024 13:194,86232,706,11114,522,0001,037,0002,289,664
9Feb 22, 2024 13:194,87932,785,12414,573,0001,040,0002,277,376
10Feb 22, 2024 13:195,02072,074,99316,064,98102,183,168
11Feb 22, 2024 13:195,02481,572,17416,078,18802,183,168
12Feb 22, 2024 13:195,064103,413,99616,204,94302,306,048