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 16, 2023 18:24Ulyanov AlekseyUlyanov AlekseyScore: 5,954Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2023 18:245,92848,081,60916,972,0001,996,0002,289,664
2Jun 16, 2023 18:245,92945,903,35816,975,0001,997,0002,289,664
3Jun 16, 2023 18:245,94241,200,60317,013,0002,001,0002,273,280
4Jun 16, 2023 18:245,94446,673,07617,018,0002,002,0002,265,088
5Jun 16, 2023 18:245,94934,295,01717,034,0002,004,0002,269,184
6Jun 16, 2023 18:245,95038,797,41717,035,0002,004,0002,289,664
7Jun 16, 2023 18:245,95442,397,21218,051,0001,002,0002,269,184
8Jun 16, 2023 18:245,96336,041,46318,076,0001,004,0002,289,664
9Jun 16, 2023 18:245,97443,125,05817,105,0002,012,0002,289,664
10Jun 16, 2023 18:246,143103,710,39119,658,16802,293,760
11Jun 16, 2023 18:246,14973,847,78419,678,11202,297,856
12Jun 16, 2023 18:246,169119,622,49819,739,46802,297,856