题解:#8859.打渔还是晒网 审核通过

tctm169 我以逍遥醉人间 2025-01-27 10:30:40 5

核心代码

    // 根据余数判断是打渔还是晒网
    if (remainder >= 1 && remainder <= 3) {
        cout << "Fishing" << endl;
    } else {
        cout << "Lying" << endl;
    }

    return 0;
}
{{ vote && vote.total.up }}