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 2, 2021 19:14Yuriy LyfenkoYuriy LyfenkoScore: 5,040Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 19:144,973538,365,11313,923,0001,989,0002,281,472
2Jun 2, 2021 19:144,993538,980,88213,980,0001,997,0002,273,280
3Jun 2, 2021 19:144,997538,152,19414,991,000999,0002,273,280
4Jun 2, 2021 19:145,005540,219,12115,015,0001,001,0002,408,448
5Jun 2, 2021 19:145,014539,610,16114,039,0002,005,0002,273,280
6Jun 2, 2021 19:145,026539,379,99414,073,0002,010,0002,273,280
7Jun 2, 2021 19:145,040542,170,94215,121,0001,008,0002,281,472
8Jun 2, 2021 19:145,049538,895,00514,139,0002,019,0002,273,280
9Jun 2, 2021 19:145,052542,746,35315,155,0001,010,0002,273,280
10Jun 2, 2021 19:145,135577,441,18416,431,00502,281,472
11Jun 2, 2021 19:145,159570,714,73116,510,34602,293,760
12Jun 2, 2021 19:145,176570,822,17516,564,24402,281,472