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 listAug 3, 2024 04:42MylesMylesScore: 4,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:424,50833,270,17013,394,0001,030,0002,281,472
2Aug 3, 2024 04:424,51031,814,42713,402,0001,030,0002,281,472
3Aug 3, 2024 04:424,51232,749,55213,408,0001,031,0002,281,472
4Aug 3, 2024 04:424,51428,311,79513,414,0001,031,0002,281,472
5Aug 3, 2024 04:424,51935,540,19413,429,0001,033,0002,281,472
6Aug 3, 2024 04:424,53333,414,84613,469,0001,036,0002,281,472
7Aug 3, 2024 04:424,54033,487,99413,490,0001,037,0002,445,312
8Aug 3, 2024 04:424,54432,593,58713,504,0001,038,0002,449,408
9Aug 3, 2024 04:424,54636,361,98513,507,0001,039,0002,445,312
10Aug 3, 2024 04:424,78290,053,11715,302,30402,207,744
11Aug 3, 2024 04:424,79371,607,94015,337,13302,199,552
12Aug 3, 2024 04:424,79795,865,90715,350,80002,203,648