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, 2024 10:01Matt StuchlikMatt StuchlikScore: 5,455Success
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, 2024 10:015,39440,346,74916,245,0001,015,0002,289,664
2Jul 19, 2024 10:015,41138,858,73115,278,0002,037,0002,289,664
3Jul 19, 2024 10:015,41740,533,93916,316,0001,019,0002,265,088
4Jul 19, 2024 10:015,42547,714,80817,359,00002,273,280
5Jul 19, 2024 10:015,42745,248,06616,345,0001,021,0002,289,664
6Jul 19, 2024 10:015,43940,021,42516,381,0001,023,0002,531,328
7Jul 19, 2024 10:015,45538,437,55115,403,0002,053,0002,289,664
8Jul 19, 2024 10:015,46440,550,44716,457,0001,028,0002,289,664
9Jul 19, 2024 10:015,46938,689,58116,473,0001,029,0002,277,376
10Jul 19, 2024 10:015,67472,781,19118,157,79302,297,856
11Jul 19, 2024 10:015,68463,885,00618,188,61602,297,856
12Jul 19, 2024 10:015,69482,547,70318,219,46402,289,664