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 19, 2022 09:35Kenneth MaplesKenneth MaplesScore: 5,436Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:355,40545,676,57317,296,00002,392,064
2Sep 19, 2022 09:355,40634,006,61617,299,00002,396,160
3Sep 19, 2022 09:355,42141,096,14217,346,00002,519,040
4Sep 19, 2022 09:355,42332,527,26917,355,00002,387,968
5Sep 19, 2022 09:355,42638,740,63717,363,00002,506,752
6Sep 19, 2022 09:355,43634,212,90817,394,00002,519,040
7Sep 19, 2022 09:355,43637,404,80316,373,0001,023,0002,519,040
8Sep 19, 2022 09:355,44351,201,38916,394,0001,024,0002,519,040
9Sep 19, 2022 09:355,44839,202,88117,433,00002,387,968
10Sep 19, 2022 09:355,70681,591,56818,259,05002,273,280
11Sep 19, 2022 09:355,71899,231,64418,297,16102,281,472
12Sep 19, 2022 09:355,72286,909,91718,309,94502,273,280