Submission #1020370

#TimeUsernameProblemLanguageResultExecution timeMemory
1020370KhoaDuyUntitled (POI11_rot)C++14
0 / 100
143 ms14072 KiB
#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 (stderr)

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 timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...