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 19:11AndreyTSAndreyTSScore: 5,292Success
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 19:115,26533,371,45215,858,000991,0002,277,376
2Jun 8, 2024 19:115,26743,025,71115,862,000991,0002,289,664
3Jun 8, 2024 19:115,26933,319,76415,870,000991,0002,289,664
4Jun 8, 2024 19:115,27137,578,81015,874,000992,0002,269,184
5Jun 8, 2024 19:115,27547,614,64214,894,0001,985,0002,289,664
6Jun 8, 2024 19:115,27734,484,19514,901,0001,986,0002,289,664
7Jun 8, 2024 19:115,29237,452,41314,941,0001,992,0002,527,232
8Jun 8, 2024 19:115,29342,712,54314,944,0001,992,0002,289,664
9Jun 8, 2024 19:115,31044,504,73215,993,000999,0002,289,664
10Jun 8, 2024 19:115,50482,046,69817,611,59302,306,048
11Jun 8, 2024 19:115,50982,420,71617,627,58202,301,952
12Jun 8, 2024 19:115,54083,689,59517,728,56202,293,760