Submission #802082

# Submission time Handle Problem Language Result Execution time Memory
802082 2023-08-02T09:34:57 Z Warinchai Progression (NOI20_progression) C++14
0 / 100
529 ms 11228 KB
#include<bits/stdc++.h>
using namespace std;
int ar[300005];
int main(){
    int n,q;
    cin>>n>>q;
    for(int i=0;i<n;i++){
        cin>>ar[i];
    }
    for(int i=0;i<q;i++){
        int x;
        cin>>x;
        if(x==1){
            int l,c,r,s;
            cin>>l>>r>>c>>s;
            //cout<<"1\n";
        }else if(x==2){
            int l,c,r,s;
            cin>>l>>r>>c>>s;
            //cout<<"1\n";
        }else{
            int l,r;
            cin>>l>>r;
            cout<<"1\n";
        }
    }
}
# Verdict Execution time Memory Grader output
1 Incorrect 422 ms 9668 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 316 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 529 ms 8036 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 424 ms 11228 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 529 ms 8036 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 422 ms 9668 KB Output isn't correct
2 Halted 0 ms 0 KB -