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 listJan 18, 2024 19:38AnSaAnSaScore: 5,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 19:385,43144,809,33416,356,0001,022,0002,527,232
2Jan 18, 2024 19:385,43734,942,29916,376,0001,023,0002,293,760
3Jan 18, 2024 19:385,44445,497,55216,397,0001,024,0002,293,760
4Jan 18, 2024 19:385,44938,234,69917,437,00002,293,760
5Jan 18, 2024 19:385,45549,910,20415,403,0002,053,0002,293,760
6Jan 18, 2024 19:385,47236,187,42416,481,0001,030,0002,293,760
7Jan 18, 2024 19:385,48335,923,98216,513,0001,032,0002,293,760
8Jan 18, 2024 19:385,49544,729,64017,584,00002,523,136
9Jan 18, 2024 19:385,50534,474,28115,659,0001,957,0002,363,392
10Jan 18, 2024 19:385,63180,203,77518,018,36702,281,472
11Jan 18, 2024 19:385,63890,159,82918,040,85002,289,664
12Jan 18, 2024 19:385,65087,357,00718,081,11502,281,472