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 17, 2023 22:29Ulyanov AlekseyUlyanov AlekseyScore: 5,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:295,94542,227,03718,024,0001,001,0002,277,376
2Jun 17, 2023 22:295,95240,142,56117,041,0002,004,0002,277,376
3Jun 17, 2023 22:295,95453,000,81417,047,0002,005,0002,277,376
4Jun 17, 2023 22:295,95444,324,78717,047,0002,005,0002,277,376
5Jun 17, 2023 22:295,96144,101,07115,060,0004,016,0002,277,376
6Jun 17, 2023 22:295,96844,142,71417,088,0002,010,0002,277,376
7Jun 17, 2023 22:295,98645,211,92317,140,0002,016,0002,273,280
8Jun 17, 2023 22:295,98941,334,30915,131,0004,035,0002,277,376
9Jun 17, 2023 22:295,99740,462,09316,160,0003,030,0002,277,376
10Jun 17, 2023 22:296,16195,538,17119,715,96302,179,072
11Jun 17, 2023 22:296,165100,557,10819,727,39302,297,856
12Jun 17, 2023 22:296,19478,037,96419,821,25502,301,952