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 16, 2023 19:20Ulyanov AlekseyUlyanov AlekseyScore: 5,791Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 19:205,74844,240,46317,372,0001,021,0002,281,472
2Jun 16, 2023 19:205,75046,147,80317,378,0001,022,0002,289,664
3Jun 16, 2023 19:205,75945,472,46317,407,0001,023,0002,277,376
4Jun 16, 2023 19:205,76049,745,89417,408,0001,024,0002,289,664
5Jun 16, 2023 19:205,77643,684,80518,482,00002,289,664
6Jun 16, 2023 19:205,78743,361,70617,491,0001,028,0002,281,472
7Jun 16, 2023 19:205,79141,194,14417,503,0001,029,0002,531,328
8Jun 16, 2023 19:205,80136,326,97918,562,00002,273,280
9Jun 16, 2023 19:205,81439,474,70116,646,0001,958,0002,289,664
10Jun 16, 2023 19:205,93698,622,13318,993,70802,297,856
11Jun 16, 2023 19:205,94998,538,50919,038,00802,297,856
12Jun 16, 2023 19:205,97996,542,40019,133,95802,301,952