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 listJul 19, 2022 19:19Adam StřelskýAdam StřelskýScore: 5,629Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 19:195,61040,100,33915,957,0001,994,0002,449,408
2Jul 19, 2022 19:195,61040,008,88515,958,0001,994,0002,449,408
3Jul 19, 2022 19:195,61439,354,23615,968,0001,996,0002,535,424
4Jul 19, 2022 19:195,61432,027,79416,910,0001,056,0002,441,216
5Jul 19, 2022 19:195,62239,410,26915,991,0001,998,0002,273,280
6Jul 19, 2022 19:195,62340,517,16515,993,0001,999,0002,441,216
7Jul 19, 2022 19:195,62939,449,41416,013,0002,001,0002,535,424
8Jul 19, 2022 19:195,63734,380,71616,034,0002,004,0002,437,120
9Jul 19, 2022 19:195,64339,541,41016,051,0002,006,0002,449,408
10Jul 19, 2022 19:195,75663,780,35518,417,94002,191,360
11Jul 19, 2022 19:195,79479,357,46518,539,97002,199,552
12Jul 19, 2022 19:195,81684,536,95818,610,77102,195,456