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 27, 2024 18:42HuynhHuynhScore: 5,589Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 18:425,53831,394,13217,723,00002,428,928
2Jul 27, 2024 18:425,57644,520,67315,860,0001,982,0002,269,184
3Jul 27, 2024 18:425,58637,710,12017,875,00002,437,120
4Jul 27, 2024 18:425,58631,535,48113,904,0003,972,0002,437,120
5Jul 27, 2024 18:425,58744,524,21414,899,0002,979,0002,433,024
6Jul 27, 2024 18:425,58742,193,05216,886,000993,0002,433,024
7Jul 27, 2024 18:425,58942,713,11616,892,000993,0002,433,024
8Jul 27, 2024 18:425,59149,007,14516,897,000993,0002,269,184
9Jul 27, 2024 18:425,59643,293,84615,918,0001,989,0002,428,928
10Jul 27, 2024 18:425,82295,501,74718,629,59502,187,264
11Jul 27, 2024 18:425,82997,745,40518,654,38602,183,168
12Jul 27, 2024 18:425,85382,298,60018,730,51202,183,168