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 listMay 19, 2021 23:00alex3dalex3dScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:005,45838,432,55817,465,00002,269,184
2May 19, 2021 23:005,47544,771,99917,520,00002,445,312
3May 19, 2021 23:005,47835,857,71016,497,0001,031,0002,527,232
4May 19, 2021 23:005,48141,191,13517,538,00002,441,216
5May 19, 2021 23:005,48637,594,70517,555,00002,531,328
6May 19, 2021 23:005,49038,387,90515,502,0002,066,0002,445,312
7May 19, 2021 23:005,49944,354,93517,597,00002,531,328
8May 19, 2021 23:005,50541,743,45116,579,0001,036,0002,265,088
9May 19, 2021 23:005,51637,231,15616,613,0001,038,0002,269,184
10May 19, 2021 23:005,76681,165,89918,450,47902,195,456
11May 19, 2021 23:005,77565,752,85418,478,90402,207,744
12May 19, 2021 23:005,81268,388,19118,598,17802,199,552
13May 19, 2021 23:005,84075,434,77218,688,66602,199,552
14May 19, 2021 23:005,85282,008,22618,727,95402,191,360
15May 19, 2021 23:005,87271,649,74918,790,66202,199,552