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 13, 2024 12:44джулисджулисScore: 5,387Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:445,34543,962,52816,099,0001,006,0002,293,760
2Jun 13, 2024 12:445,34644,560,48315,095,0002,012,0002,363,392
3Jun 13, 2024 12:445,35644,597,85915,123,0002,016,0002,293,760
4Jun 13, 2024 12:445,35741,008,88516,135,0001,008,0002,293,760
5Jun 13, 2024 12:445,35941,745,78715,132,0002,017,0002,293,760
6Jun 13, 2024 12:445,37034,387,16816,173,0001,010,0002,371,584
7Jun 13, 2024 12:445,38740,422,52616,224,0001,014,0002,371,584
8Jun 13, 2024 12:445,39340,200,90015,226,0002,030,0002,293,760
9Jun 13, 2024 12:445,39941,680,14015,245,0002,032,0002,293,760
10Jun 13, 2024 12:445,593112,105,23517,897,57402,244,608
11Jun 13, 2024 12:445,59773,121,67417,910,18202,244,608
12Jun 13, 2024 12:445,60660,619,14517,940,70602,248,704