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 19:39HuynhHuynhScore: 5,628Success
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 19:395,59443,590,50816,908,000994,0002,531,328
2Jul 27, 2024 19:395,59643,389,15516,914,000994,0002,514,944
3Jul 27, 2024 19:395,61240,173,96816,961,000997,0002,531,328
4Jul 27, 2024 19:395,61339,867,02715,965,0001,995,0002,531,328
5Jul 27, 2024 19:395,61838,677,65916,979,000998,0002,269,184
6Jul 27, 2024 19:395,62330,742,06515,996,0001,999,0002,514,944
7Jul 27, 2024 19:395,62834,212,99215,008,0003,001,0002,269,184
8Jul 27, 2024 19:395,63340,246,77516,022,0002,002,0002,269,184
9Jul 27, 2024 19:395,64339,767,88716,052,0002,006,0002,433,024
10Jul 27, 2024 19:395,887108,785,87818,838,41802,187,264
11Jul 27, 2024 19:395,89078,779,00618,847,52802,179,072
12Jul 27, 2024 19:395,91694,932,41918,932,09402,179,072