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 24, 2022 10:39Robert BurkeRobert BurkeScore: 4,570Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 10:394,53330,766,07314,506,00002,433,024
2Jul 24, 2022 10:394,54430,968,84714,540,00002,437,120
3Jul 24, 2022 10:394,54536,460,42214,544,00002,441,216
4Jul 24, 2022 10:394,54727,183,77714,550,00002,273,280
5Jul 24, 2022 10:394,54935,387,78714,556,00002,523,136
6Jul 24, 2022 10:394,56433,692,94314,606,00002,441,216
7Jul 24, 2022 10:394,57036,393,40113,580,0001,044,0002,281,472
8Jul 24, 2022 10:394,57335,459,08414,633,00002,281,472
9Jul 24, 2022 10:394,59842,028,58713,663,0001,051,0002,281,472
10Jul 24, 2022 10:394,78850,667,63115,323,10802,187,264
11Jul 24, 2022 10:394,79583,151,98315,342,86702,191,360
12Jul 24, 2022 10:394,79971,031,24015,355,75502,187,264