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 11, 2023 23:49Victor MuñozVictor MuñozScore: 5,335Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2023 23:485,29939,350,57214,963,0001,995,0002,265,088
2Jun 11, 2023 23:495,30443,000,78014,976,0001,996,0002,387,968
3Jun 11, 2023 23:495,30544,419,83815,977,000998,0002,392,064
4Jun 11, 2023 23:495,30637,476,88715,982,000998,0002,265,088
5Jun 11, 2023 23:485,30943,218,63015,991,000999,0002,527,232
6Jun 11, 2023 23:485,31537,056,84315,008,0002,001,0002,265,088
7Jun 11, 2023 23:485,32234,133,96215,028,0002,003,0002,387,968
8Jun 11, 2023 23:485,32845,677,46615,043,0002,005,0002,387,968
9Jun 11, 2023 23:485,32835,808,13916,048,0001,003,0002,396,160
10Jun 11, 2023 23:485,33041,039,94915,051,0002,006,0002,392,064
11Jun 11, 2023 23:495,33041,326,29016,052,0001,003,0002,265,088
12Jun 11, 2023 23:495,33243,034,09316,059,0001,003,0002,379,776
13Jun 11, 2023 23:495,33533,992,24416,068,0001,004,0002,387,968
14Jun 11, 2023 23:495,34137,173,96615,080,0002,010,0002,383,872
15Jun 11, 2023 23:485,34634,198,30216,101,0001,006,0002,396,160
16Jun 11, 2023 23:495,34839,426,01015,101,0002,013,0002,265,088
17Jun 11, 2023 23:485,35242,984,62415,112,0002,014,0002,265,088
18Jun 11, 2023 23:495,36443,796,13315,146,0002,019,0002,379,776
19Jun 11, 2023 23:485,950103,351,87819,040,94002,277,376
20Jun 11, 2023 23:485,96589,766,28419,087,29802,277,376
21Jun 11, 2023 23:485,97476,302,70919,118,11402,285,568
22Jun 11, 2023 23:495,98371,970,71119,145,73602,281,472
23Jun 11, 2023 23:495,99681,904,87319,186,23302,281,472
24Jun 11, 2023 23:496,01480,093,21319,245,43602,273,280