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 9, 2024 18:33matsuoka-601matsuoka-601Score: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:334,58940,751,71213,637,0001,049,0002,285,568
2Jun 9, 2024 18:334,59141,819,41814,690,00002,404,352
3Jun 9, 2024 18:334,60328,850,08814,730,00002,285,568
4Jun 9, 2024 18:334,60532,998,80113,684,0001,052,0002,400,256
5Jun 9, 2024 18:334,63743,043,10613,850,000989,0002,404,352
6Jun 9, 2024 18:334,64131,810,07114,850,00002,285,568
7Jun 9, 2024 18:334,64331,474,90913,867,000990,0002,285,568
8Jun 9, 2024 18:334,64634,319,36313,875,000991,0002,285,568
9Jun 9, 2024 18:334,64636,327,53913,876,000991,0002,285,568
10Jun 9, 2024 18:334,64635,788,30412,884,0001,982,0002,519,040
11Jun 9, 2024 18:334,64631,970,18913,877,000991,0002,285,568
12Jun 9, 2024 18:334,64737,984,54813,880,000991,0002,285,568
13Jun 9, 2024 18:334,64841,184,31313,882,000991,0002,408,448
14Jun 9, 2024 18:334,65139,515,77612,898,0001,984,0002,285,568
15Jun 9, 2024 18:334,65233,534,03813,893,000992,0002,408,448
16Jun 9, 2024 18:334,65340,430,56013,896,000992,0002,400,256
17Jun 9, 2024 18:334,65633,195,70314,899,00002,285,568
18Jun 9, 2024 18:334,66043,830,41613,918,000994,0002,285,568
19Jun 9, 2024 18:334,83080,273,60615,456,52002,174,976
20Jun 9, 2024 18:334,87081,117,11715,585,12602,297,856
21Jun 9, 2024 18:334,87876,500,85215,609,45602,301,952
22Jun 9, 2024 18:334,88583,725,22015,633,16902,297,856
23Jun 9, 2024 18:334,90393,931,93315,688,20202,301,952
24Jun 9, 2024 18:334,90491,564,34815,693,75302,260,992