Submission #172709

# Submission time Handle Problem Language Result Execution time Memory
172709 2020-01-02T12:31:58 Z mosiashvililuka Nice sequence (IZhO18_sequence) C++14
0 / 100
9 ms 376 KB
#include<bits/stdc++.h>
using namespace std;
int a,b,c,d,e,tes,t,n,m;
int main(){
    ios_base::sync_with_stdio(false),cin.tie(0),cout.tie(0);
    cin>>tes;
    for(t=1; t<=tes; t++){
        cin>>n>>m;
        if(n<m) swap(n,m);
        cout<<n-1<<endl;
        if(n!=1){
            for(b=1; b<n; b++){
                cout<<"-1 ";
            }
            cout<<endl;
        }
    }
    return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 9 ms 376 KB there is incorrect sequence
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 8 ms 376 KB Jury has the better answer : jans = 3, pans = 2
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 248 KB there is incorrect sequence
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 376 KB Jury has the better answer : jans = 3, pans = 2
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 9 ms 376 KB there is incorrect sequence
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 9 ms 376 KB there is incorrect sequence
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 9 ms 376 KB there is incorrect sequence
2 Halted 0 ms 0 KB -