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 listAug 4, 2024 02:06jeffplaisancejeffplaisanceScore: 4,399Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 02:064,36132,762,50312,960,000996,0002,277,376
2Aug 4, 2024 02:064,36230,044,25212,962,000997,0002,277,376
3Aug 4, 2024 02:064,36831,051,70812,981,000998,0002,494,464
4Aug 4, 2024 02:064,37629,345,33513,003,0001,000,0002,277,376
5Aug 4, 2024 02:064,38332,612,04113,025,0001,001,0002,277,376
6Aug 4, 2024 02:064,39329,714,72613,054,0001,004,0002,498,560
7Aug 4, 2024 02:064,39930,223,97813,073,0001,005,0002,535,424
8Aug 4, 2024 02:064,40031,559,67412,068,0002,011,0002,502,656
9Aug 4, 2024 02:064,40532,581,47013,089,0001,006,0002,498,560
10Aug 4, 2024 02:064,67068,697,95914,943,95002,375,680
11Aug 4, 2024 02:064,68581,225,45014,990,74802,248,704
12Aug 4, 2024 02:064,70772,395,76015,063,32102,240,512