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 19, 2023 21:19Ulyanov AlekseyUlyanov AlekseyScore: 5,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:195,62436,015,86115,999,0001,999,0002,273,280
2Jun 19, 2023 21:195,65240,358,80617,083,0001,004,0002,289,664
3Jun 19, 2023 21:195,65343,337,13416,080,0002,010,0002,269,184
4Jun 19, 2023 21:195,65842,608,68716,094,0002,011,0002,289,664
5Jun 19, 2023 21:195,66347,427,44116,108,0002,013,0002,531,328
6Jun 19, 2023 21:195,66842,840,69617,132,0001,007,0002,273,280
7Jun 19, 2023 21:195,66844,902,86116,124,0002,015,0002,359,296
8Jun 19, 2023 21:195,67543,512,61217,152,0001,008,0002,277,376
9Jun 19, 2023 21:195,68541,853,59716,170,0002,021,0002,289,664
10Jun 19, 2023 21:196,12395,243,20519,592,28202,174,976
11Jun 19, 2023 21:196,13762,893,17119,637,42502,306,048
12Jun 19, 2023 21:196,16595,048,15619,728,32802,289,664