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 9, 2024 21:56джулисджулисScore: 5,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 21:565,22539,838,76115,675,0001,045,0002,371,584
2Jun 9, 2024 21:565,26134,093,50215,846,000990,0002,293,760
3Jun 9, 2024 21:565,26848,325,19015,867,000991,0002,293,760
4Jun 9, 2024 21:565,27147,558,21816,866,00002,293,760
5Jun 9, 2024 21:565,27343,958,70115,880,000992,0002,367,488
6Jun 9, 2024 21:565,27742,692,29315,892,000993,0002,379,776
7Jun 9, 2024 21:565,28046,026,53314,909,0001,987,0002,293,760
8Jun 9, 2024 21:565,28043,420,50516,896,00002,363,392
9Jun 9, 2024 21:565,28343,886,91814,916,0001,988,0002,293,760
10Jun 9, 2024 21:565,47573,196,86517,519,30002,248,704
11Jun 9, 2024 21:565,51786,408,15017,653,03802,248,704
12Jun 9, 2024 21:565,52778,081,72917,685,56902,256,896