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 30, 2024 13:30AnSaAnSaScore: 5,133Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:305,08642,113,42415,257,0001,017,0002,494,464
2Jun 30, 2024 13:305,11138,510,59315,333,0001,022,0002,531,328
3Jun 30, 2024 13:305,11642,751,21815,347,0001,023,0002,531,328
4Jun 30, 2024 13:305,12239,525,13015,365,0001,024,0002,531,328
5Jun 30, 2024 13:305,12235,994,50416,391,00002,494,464
6Jun 30, 2024 13:305,12533,969,98216,399,00002,490,368
7Jun 30, 2024 13:305,13340,772,07716,426,00002,531,328
8Jun 30, 2024 13:305,15843,842,94816,506,00002,498,560
9Jun 30, 2024 13:305,18138,393,04315,543,0001,036,0002,498,560
10Jun 30, 2024 13:305,34670,861,37117,107,41402,248,704
11Jun 30, 2024 13:305,36680,270,91817,171,87602,244,608
12Jun 30, 2024 13:305,39680,395,91917,266,05302,248,704