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 listSep 3, 2024 16:15AnSaAnSaScore: 4,695Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2024 16:154,66032,062,76513,917,000994,0002,527,232
2Sep 3, 2024 16:154,67036,786,61313,949,000996,0002,265,088
3Sep 3, 2024 16:154,67740,229,15813,970,000997,0002,486,272
4Sep 3, 2024 16:154,67833,650,56313,973,000998,0002,527,232
5Sep 3, 2024 16:154,68035,895,46013,979,000998,0002,490,368
6Sep 3, 2024 16:154,68131,129,80612,982,0001,997,0002,494,464
7Sep 3, 2024 16:154,68830,009,72314,003,0001,000,0002,531,328
8Sep 3, 2024 16:154,69331,732,45714,018,0001,001,0002,490,368
9Sep 3, 2024 16:154,69335,283,40013,017,0002,002,0002,269,184
10Sep 3, 2024 16:154,69532,108,01614,022,0001,001,0002,494,464
11Sep 3, 2024 16:154,69540,906,11514,023,0001,001,0002,490,368
12Sep 3, 2024 16:154,69932,169,98214,035,0001,002,0002,527,232
13Sep 3, 2024 16:154,69938,509,88711,028,0004,010,0002,277,376
14Sep 3, 2024 16:154,70337,646,19913,044,0002,006,0002,269,184
15Sep 3, 2024 16:154,70537,686,52813,049,0002,007,0002,498,560
16Sep 3, 2024 16:154,71333,856,75014,075,0001,005,0002,531,328
17Sep 3, 2024 16:154,71740,730,51913,081,0002,012,0002,527,232
18Sep 3, 2024 16:154,72128,064,48914,099,0001,007,0002,531,328