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 24, 2024 01:10emily graceemily graceScore: 4,675Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:104,65036,587,73913,888,000992,0002,289,664
2Jul 24, 2024 01:104,66130,570,43313,921,000994,0002,383,872
3Jul 24, 2024 01:104,66634,406,82612,941,0001,990,0002,289,664
4Jul 24, 2024 01:104,67036,206,99612,953,0001,992,0002,289,664
5Jul 24, 2024 01:104,67132,567,76712,954,0001,993,0002,265,088
6Jul 24, 2024 01:104,67237,863,62712,956,0001,993,0002,289,664
7Jul 24, 2024 01:104,67532,709,61413,962,000997,0002,269,184
8Jul 24, 2024 01:104,67530,204,95212,965,0001,994,0002,392,064
9Jul 24, 2024 01:104,67534,807,13312,965,0001,994,0002,289,664
10Jul 24, 2024 01:104,92159,587,39615,747,53702,289,664
11Jul 24, 2024 01:104,94583,230,44215,825,02602,293,760
12Jul 24, 2024 01:104,95592,986,74015,855,79502,289,664