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 26, 2024 20:44Yuriy LyfenkoYuriy LyfenkoScore: 4,413Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:444,366536,058,74611,976,0001,996,0002,445,312
2Jul 26, 2024 20:444,384536,189,90912,024,0002,004,0002,273,280
3Jul 26, 2024 20:444,388535,992,91512,037,0002,006,0002,449,408
4Jul 26, 2024 20:444,395535,700,79412,056,0002,009,0002,535,424
5Jul 26, 2024 20:444,397535,884,11712,060,0002,010,0002,453,504
6Jul 26, 2024 20:444,412539,388,10612,101,0002,016,0002,535,424
7Jul 26, 2024 20:444,413541,588,61212,104,0002,017,0002,445,312
8Jul 26, 2024 20:444,415535,221,84612,110,0002,018,0002,453,504
9Jul 26, 2024 20:444,420535,564,21714,143,00002,535,424
10Jul 26, 2024 20:444,598570,666,25314,713,59402,203,648
11Jul 26, 2024 20:444,614580,132,44914,764,82302,191,360
12Jul 26, 2024 20:444,620589,760,35614,783,87902,322,432