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 16, 2021 12:23Yuriy LyfenkoYuriy LyfenkoScore: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 12:235,41940,228,42114,281,0003,060,0002,383,872
2May 16, 2021 12:235,42045,914,85117,344,00002,269,184
3May 16, 2021 12:235,43141,981,47015,336,0002,044,0002,265,088
4May 16, 2021 12:235,43755,437,85616,374,0001,023,0002,527,232
5May 16, 2021 12:235,44047,598,60515,360,0002,048,0002,392,064
6May 16, 2021 12:235,45346,730,04416,424,0001,026,0002,392,064
7May 16, 2021 12:235,45738,230,90017,463,00002,269,184
8May 16, 2021 12:235,46139,330,99815,420,0002,056,0002,392,064
9May 16, 2021 12:235,50645,833,39815,663,0001,957,0002,269,184
10May 16, 2021 12:235,69492,781,21218,220,05902,273,280
11May 16, 2021 12:235,69682,956,04518,226,47902,273,280
12May 16, 2021 12:235,70662,206,88918,260,73002,281,472