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:23matsuoka-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:2300000Error: expected "974785 ", got "974786"
2Jul 19, 2024 06:234,67132,422,19413,952,000996,0002,404,352
3Jul 19, 2024 06:234,67537,649,85212,965,0001,994,0002,404,352
4Jul 19, 2024 06:234,67641,168,94813,965,000997,0002,285,568
5Jul 19, 2024 06:234,67831,994,77912,975,0001,996,0002,285,568
6Jul 19, 2024 06:234,68941,609,67914,005,0001,000,0002,404,352
7Jul 19, 2024 06:234,69145,975,79713,009,0002,001,0002,285,568
8Jul 19, 2024 06:234,69730,597,78814,028,0001,002,0002,404,352
9Jul 19, 2024 06:234,69832,279,41313,030,0002,004,0002,408,448
10Jul 19, 2024 06:234,70532,560,69514,052,0001,003,0002,519,040
11Jul 19, 2024 06:234,88580,841,94415,632,53102,289,664
12Jul 19, 2024 06:234,90876,992,74715,706,74302,297,856
13Jul 19, 2024 06:234,94390,079,18815,817,61002,301,952