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 listJan 6, 2023 17:34Victor MuñozVictor MuñozScore: 5,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2023 17:345,57340,339,60416,844,000990,0002,387,968
2Jan 6, 2023 17:345,58243,864,07415,879,0001,984,0002,269,184
3Jan 6, 2023 17:345,58243,791,09716,871,000992,0002,387,968
4Jan 6, 2023 17:345,58551,191,80315,887,0001,985,0002,269,184
5Jan 6, 2023 17:345,58647,799,54116,882,000993,0002,269,184
6Jan 6, 2023 17:345,58634,998,46316,882,000993,0002,269,184
7Jan 6, 2023 17:345,59332,569,78715,908,0001,988,0002,396,160
8Jan 6, 2023 17:345,59644,497,18915,917,0001,989,0002,269,184
9Jan 6, 2023 17:345,62335,611,79015,994,0001,999,0002,269,184
10Jan 6, 2023 17:345,93695,518,37718,995,93602,273,280
11Jan 6, 2023 17:345,99360,110,77519,177,07302,277,376
12Jan 6, 2023 17:346,01497,279,87619,246,28002,281,472