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 8, 2024 20:57AndreyTSAndreyTSScore: 5,378Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:575,34343,800,56517,096,00002,265,088
2Jun 8, 2024 20:575,34638,278,41716,101,0001,006,0002,289,664
3Jun 8, 2024 20:575,35441,766,47115,119,0002,015,0002,269,184
4Jun 8, 2024 20:575,36437,704,18615,145,0002,019,0002,289,664
5Jun 8, 2024 20:575,36633,122,12415,152,0002,020,0002,273,280
6Jun 8, 2024 20:575,37634,988,92316,192,0001,012,0002,289,664
7Jun 8, 2024 20:575,37838,770,73415,186,0002,024,0002,285,568
8Jun 8, 2024 20:575,39246,439,75915,224,0002,029,0002,523,136
9Jun 8, 2024 20:575,40543,979,35515,262,0002,034,0002,289,664
10Jun 8, 2024 20:575,56289,274,36817,798,23102,297,856
11Jun 8, 2024 20:575,60363,878,29117,928,19902,301,952
12Jun 8, 2024 20:575,60589,868,49017,937,49602,301,952