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 listSep 17, 2024 19:49Matvey BunosMatvey BunosScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 17, 2024 19:495,88947,678,81817,853,000991,0002,277,376
2Sep 17, 2024 19:495,89349,441,08817,866,000992,0002,269,184
3Sep 17, 2024 19:495,89742,197,41218,869,00002,277,376
4Sep 17, 2024 19:495,89849,958,90617,826,0001,048,0002,277,376
5Sep 17, 2024 19:495,90150,207,38015,901,0002,981,0002,277,376
6Sep 17, 2024 19:495,90739,820,77516,912,0001,989,0002,277,376
7Sep 17, 2024 19:495,92247,751,67316,957,0001,994,0002,531,328
8Sep 17, 2024 19:495,92846,345,63817,971,000998,0002,281,472
9Sep 17, 2024 19:495,93240,925,87215,986,0002,997,0002,265,088