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 21:59AndreyTSAndreyTSScore: 5,303Success
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 21:595,27234,017,09715,879,000992,0002,281,472
2Jun 8, 2024 21:595,27433,759,50814,891,0001,985,0002,289,664
3Jun 8, 2024 21:595,28142,275,92915,905,000994,0002,289,664
4Jun 8, 2024 21:595,28743,218,15814,927,0001,990,0002,289,664
5Jun 8, 2024 21:595,29341,193,15614,944,0001,992,0002,289,664
6Jun 8, 2024 21:595,30243,778,52514,971,0001,996,0002,289,664
7Jun 8, 2024 21:595,30341,008,23514,974,0001,996,0002,289,664
8Jun 8, 2024 21:595,30343,295,84214,975,0001,996,0002,289,664
9Jun 8, 2024 21:595,34439,818,77316,096,0001,006,0002,289,664
10Jun 8, 2024 21:595,936107,693,14918,995,18402,301,952
11Jun 8, 2024 21:595,98295,875,01719,142,42802,301,952
12Jun 8, 2024 21:596,04267,380,10419,332,97302,297,856