Borderou de evaluare (job #2112613)
Utilizator | Data | 23 ianuarie 2018 18:24:22 | |
---|---|---|---|
Problema | Suma6 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: error: expected initializer before ‘long’
long long Ans[300010];
^
user.cpp: In function ‘bool comp(std::pair<std::pair<int, int>, int>, std::pair<std::pair<int, int>, int>)’:
user.cpp:12:8: error: ‘gr’ was not declared in this scope
if(gr[a.first.first]==gr[b.first.first])
^
user.cpp: In function ‘int main()’:
user.cpp:27:22: error: ‘gr’ was not declared in this scope
for(i=1;i<=n;i++)gr[i]=i/x+1;
^
user.cpp:56:9: error: ‘Ans’ was not declared in this scope
Ans[it.second]=ans;
^
user.cpp:59:12: error: ‘Ans’ was not declared in this scope
g<<Ans[i]<<'\n';
^
user.cpp: In function ‘bool comp(std::pair<std::pair<int, int>, int>, std::pair<std::pair<int, int>, int>)’:
user.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !