My Cs50 tideman function 'works' but the check50 says the output is not correct when the pairs are tied, I'm not exactly sure what to do

前端 未结 0 1009
时光取名叫无心
时光取名叫无心 2020-12-19 19:58
void print_winner(void)
{
    bool check = true;
    for (int i = 0; i < candidate_count; i++)
    {
        int count = 0;

        for (int j = 0; j < candid         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题