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 13, 2021 23:15evgenikwtevgenikwtScore: 5,311Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 23:155,28135,301,60214,910,0001,988,0002,265,088
2Jun 13, 2021 23:155,28341,817,30915,913,000994,0002,392,064
3Jun 13, 2021 23:155,28445,146,48516,909,00002,265,088
4Jun 13, 2021 23:155,29444,516,87514,947,0001,993,0002,265,088
5Jun 13, 2021 23:155,30246,160,92514,970,0001,996,0002,265,088
6Jun 13, 2021 23:155,30432,450,91715,976,000998,0002,387,968
7Jun 13, 2021 23:155,31146,360,40514,996,0001,999,0002,265,088
8Jun 13, 2021 23:155,31238,814,78215,999,000999,0002,387,968
9Jun 13, 2021 23:155,32143,198,62215,024,0002,003,0002,498,560
10Jun 13, 2021 23:155,49172,122,77417,570,95002,277,376
11Jun 13, 2021 23:155,51079,260,08517,630,98202,281,472
12Jun 13, 2021 23:155,52278,478,22917,668,93702,281,472