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 15, 2024 16:08джулисджулисScore: 5,258Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 15, 2024 16:085,19736,404,26215,592,0001,039,0002,371,584
2Jun 15, 2024 16:085,20845,017,27816,666,00002,293,760
3Jun 15, 2024 16:085,21332,215,34215,638,0001,042,0002,293,760
4Jun 15, 2024 16:085,21443,446,06815,642,0001,042,0002,367,488
5Jun 15, 2024 16:085,22143,269,89115,662,0001,044,0002,367,488
6Jun 15, 2024 16:085,25643,079,96614,841,0001,978,0002,473,984
7Jun 15, 2024 16:085,25833,905,03814,848,0001,979,0002,293,760
8Jun 15, 2024 16:085,26834,835,72714,875,0001,983,0002,371,584
9Jun 15, 2024 16:085,26841,774,33115,868,000991,0002,465,792
10Jun 15, 2024 16:085,44584,446,06517,422,73202,244,608
11Jun 15, 2024 16:085,46560,652,01117,487,15202,240,512
12Jun 15, 2024 16:085,48365,547,99517,544,11902,371,584