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 22, 2024 12:04matsuoka-601matsuoka-601Score: 5,953Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 12:045,90542,388,33316,908,0001,989,0002,293,760
2Jan 22, 2024 12:045,91343,020,14516,931,0001,991,0002,293,760
3Jan 22, 2024 12:045,92142,400,84216,954,0001,994,0002,273,280
4Jan 22, 2024 12:045,92545,371,78316,965,0001,995,0002,277,376
5Jan 22, 2024 12:045,93338,177,31916,986,0001,998,0002,265,088
6Jan 22, 2024 12:045,94540,909,72117,021,0002,002,0002,273,280
7Jan 22, 2024 12:045,95337,788,77017,045,0002,005,0002,273,280
8Jan 22, 2024 12:045,95740,576,74517,055,0002,006,0002,293,760
9Jan 22, 2024 12:045,98439,739,16317,134,0002,015,0002,293,760
10Jan 22, 2024 12:046,10886,620,03219,544,82302,174,976
11Jan 22, 2024 12:046,12681,290,93119,604,04502,179,072
12Jan 22, 2024 12:046,14094,914,20319,646,57302,306,048