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 listJun 9, 2024 20:32джулисджулисScore: 5,331Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:325,28937,896,16415,930,000995,0002,293,760
2Jun 9, 2024 20:325,28942,985,53814,935,0001,991,0002,469,888
3Jun 9, 2024 20:325,29942,756,53415,960,000997,0002,375,680
4Jun 9, 2024 20:325,29940,772,83115,961,000997,0002,506,752
5Jun 9, 2024 20:325,31033,852,82714,994,0001,999,0002,293,760
6Jun 9, 2024 20:325,33039,381,70215,050,0002,006,0002,375,680
7Jun 9, 2024 20:325,33143,456,47016,056,0001,003,0002,367,488
8Jun 9, 2024 20:325,33737,728,57515,068,0002,009,0002,367,488
9Jun 9, 2024 20:325,33847,499,23516,079,0001,004,0002,293,760
10Jun 9, 2024 20:325,52886,240,95117,689,69902,252,800
11Jun 9, 2024 20:325,558100,081,87017,784,72102,256,896
12Jun 9, 2024 20:325,66196,473,54518,115,56402,244,608