Submission #1103923

# Submission time Handle Problem Language Result Execution time Memory
1103923 2024-10-22T09:11:47 Z Pacybwoah Table Tennis (JOI24_tabletennis) C++17
0 / 100
1 ms 336 KB
#include<iostream>
#include<vector>
using namespace std;
int main(){
    ios::sync_with_stdio(false);
    cin.tie(0);
    int t;
    int n, m;
    cin >> t;
    while(t--){
        cin >> n >> m;
        if(m <= n - 2){
            for(int i = 2; i < n; i++) for(int j = 1; j < i; j++) cout << "1";
            cout << "\n";
            for(int j = 1; j < n; j++){
                if(j + m == n - 1) cout << "0";
                else cout << "1"; 
            }
            cout << "\n";
            continue;
        }
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 336 KB Token "111111" doesn't correspond to pattern "Yes|No"
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 336 KB Token "1" doesn't correspond to pattern "Yes|No"
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 336 KB Token "1" doesn't correspond to pattern "Yes|No"
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 336 KB Token "1" doesn't correspond to pattern "Yes|No"
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 336 KB Token "1" doesn't correspond to pattern "Yes|No"
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 336 KB Token "111111" doesn't correspond to pattern "Yes|No"
2 Halted 0 ms 0 KB -