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 5, 2023 20:37Victor MuñozVictor MuñozScore: 5,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 11, 2023 23:495,28447,111,76414,921,0001,989,0002,387,968
2Jun 11, 2023 23:495,28546,463,24615,856,0001,057,0002,527,232
3Jun 11, 2023 23:495,29837,745,85614,958,0001,994,0002,265,088
4Jun 11, 2023 23:495,31030,518,18914,993,0001,999,0002,265,088
5Jun 5, 2023 20:375,31233,316,31714,998,0001,999,0002,383,872
6Jun 5, 2023 20:375,31341,508,62115,002,0002,000,0002,265,088
7Jun 5, 2023 20:375,31344,408,20315,003,0002,000,0002,265,088
8Jun 5, 2023 20:375,31441,892,49816,004,0001,000,0002,265,088
9Jun 11, 2023 23:495,31545,101,10316,009,0001,000,0002,396,160
10Jun 5, 2023 20:375,32148,725,81715,024,0002,003,0002,265,088
11Jun 5, 2023 20:375,32241,793,77915,027,0002,003,0002,527,232
12Jun 11, 2023 23:495,32250,045,70015,027,0002,003,0002,383,872
13Jun 5, 2023 20:375,32641,797,05915,038,0002,005,0002,392,064
14Jun 11, 2023 23:495,33134,220,62415,053,0002,007,0002,285,568
15Jun 5, 2023 20:375,33143,670,77316,055,0001,003,0002,506,752
16Jun 11, 2023 23:495,35341,958,83816,124,0001,007,0002,265,088
17Jun 5, 2023 20:375,36543,869,32815,149,0002,019,0002,265,088
18Jun 11, 2023 23:495,37043,032,32516,173,0001,010,0002,265,088
19Jun 5, 2023 20:375,49878,907,47417,592,70702,273,280
20Jun 5, 2023 20:375,51794,242,66217,653,85802,277,376
21Jun 5, 2023 20:375,51884,518,43917,657,16602,269,184
22Jun 11, 2023 23:495,52561,736,10217,680,59302,273,280
23Jun 11, 2023 23:495,54376,063,82717,737,18102,273,280
24Jun 11, 2023 23:495,75563,731,93318,417,14202,269,184