Submission #1020370

# Submission time Handle Problem Language Result Execution time Memory
1020370 2024-07-12T02:29:23 Z KhoaDuy Tree Rotations (POI11_rot) C++14
0 / 100
143 ms 14072 KB
#include<bits/stdc++.h>
using namespace std;
#define endl '\n'
#define int long long
const int MAXN=2*1e5;
vector<vector<int>> graph(MAXN+1);
vector<vector<int>> v(MAXN+1);
int seg[2*MAXN];
int d[MAXN];
int n;
int height=19;
int ptr=0;
vector<int> input;
int Buildtree(){

}
signed main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cin >> n;
    cin.ignore();
    string line;
    while(getline(cin,line)){
        if(line.empty()){
            break;
        }
        stringstream ss;
        ss << line;
        int x=0;
        ss >> x;
        input.push_back(x);
    }
    cout << 1;
}

Compilation message

rot.cpp: In function 'long long int Buildtree()':
rot.cpp:16:1: warning: no return statement in function returning non-void [-Wreturn-type]
   16 | }
      | ^
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 9820 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 3 ms 9820 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 4 ms 9820 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 6 ms 9820 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 15 ms 10072 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 40 ms 10968 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 61 ms 11980 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 91 ms 11976 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 134 ms 14072 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 138 ms 13960 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 143 ms 14028 KB Output isn't correct
2 Halted 0 ms 0 KB -