csuoj-1718- And Then There Was 5

Description

csuoj-1718- And Then There Was 5_第1张图片

Input

csuoj-1718- And Then There Was 5_第2张图片

Output

Sample Input

4
3 2
123456 6
999999 8
765432 7

Sample Output

2 5
6 5
8 5
7 5


题目就是一sabi题,

看代码就是了

#include <iostream>
#include<cstring>
#include<cstdio>
using namespace std;
 
int main(){
    int n;
    cin >> n;
    while (n--){
        int l, r;
        cin >> l >> r;
        cout << r << " 5\n";
    }
    return 0;
}


你可能感兴趣的:(模拟)