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 listJul 30, 2024 03:43BenBenScore: 5,580Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:435,52442,501,36716,638,0001,039,0002,265,088
2Jul 30, 2024 03:435,53046,864,22717,697,00002,265,088
3Jul 30, 2024 03:435,53141,509,47316,658,0001,041,0002,265,088
4Jul 30, 2024 03:435,53745,144,63716,675,0001,042,0002,265,088
5Jul 30, 2024 03:435,53846,496,66716,681,0001,042,0002,514,944
6Jul 30, 2024 03:435,57653,836,43015,862,0001,982,0002,383,872
7Jul 30, 2024 03:435,58045,161,22615,872,0001,984,0002,502,656
8Jul 30, 2024 03:435,58438,286,16515,884,0001,985,0002,265,088
9Jul 30, 2024 03:435,60932,494,92415,955,0001,994,0002,387,968
10Jul 30, 2024 03:435,61280,969,42317,958,10202,281,472
11Jul 30, 2024 03:435,76093,351,07018,432,16902,277,376
12Jul 30, 2024 03:435,78171,620,40718,500,15602,277,376