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 06:22matsuoka-601matsuoka-601Error
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 06:2100000Error: expected "977429 ", got "977430"
2Jul 19, 2024 06:224,59930,252,64213,667,0001,051,0002,277,376
3Jul 19, 2024 06:224,60135,582,49613,672,0001,051,0002,273,280
4Jul 19, 2024 06:224,64440,788,49614,862,00002,519,040
5Jul 19, 2024 06:224,64630,930,89713,876,000991,0002,396,160
6Jul 19, 2024 06:224,64629,658,76012,886,0001,982,0002,285,568
7Jul 19, 2024 06:224,64731,980,63113,880,000991,0002,404,352
8Jul 19, 2024 06:224,64930,906,25912,895,0001,983,0002,400,256
9Jul 19, 2024 06:224,65042,932,88814,881,00002,408,448
10Jul 19, 2024 06:224,65134,238,97413,890,000992,0002,285,568
11Jul 19, 2024 06:224,83898,717,37015,482,28102,289,664
12Jul 19, 2024 06:224,84782,608,51315,509,45402,174,976
13Jul 19, 2024 06:224,85764,773,73515,541,07002,301,952