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 12, 2024 03:14Yuriy LyfenkoYuriy LyfenkoScore: 4,608Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:144,420644,558,62013,135,0001,010,0002,260,992
2Jun 12, 2024 03:144,430639,413,41712,152,0002,025,0002,527,232
3Jun 12, 2024 03:144,431644,673,65212,153,0002,025,0002,523,136
4Jun 12, 2024 03:144,441637,940,76013,196,0001,015,0002,523,136
5Jun 12, 2024 03:144,442644,170,04813,200,0001,015,0002,260,992
6Jun 12, 2024 03:144,442637,079,79713,198,0001,015,0002,523,136
7Jun 12, 2024 03:144,442635,960,66813,198,0001,015,0002,523,136
8Jun 12, 2024 03:144,457636,703,27814,262,00002,260,992
9Jun 12, 2024 03:144,473642,432,71313,291,0001,022,0002,478,080
10Jun 12, 2024 03:214,608682,655,50414,746,01502,240,512
11Jun 12, 2024 03:214,615680,925,24614,769,01502,240,512
12Jun 12, 2024 03:144,618676,663,31214,776,20702,277,376
13Jun 12, 2024 03:214,619668,492,71114,779,32402,285,568
14Jun 12, 2024 03:214,619672,393,22214,779,33202,240,512
15Jun 12, 2024 03:214,637690,125,39014,838,91702,310,144
16Jun 12, 2024 03:144,639676,101,60614,843,35602,281,472
17Jun 12, 2024 03:214,640671,937,51914,848,48802,285,568
18Jun 12, 2024 03:144,649669,027,44514,877,20002,285,568