Borderou de evaluare (job #2361982)
Utilizator | Data | 2 martie 2019 21:00:31 | |
---|---|---|---|
Problema | Mexc | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: 'vector' does not name a type
vector<pair<int,int>>g[100005];
^~~~~~
main.cpp: In function 'int main()':
main.cpp:33:22: error: 'g' was not declared in this scope
scanf("%d",&v[i][j]),g[v[i][j]].push_back({i,j}),maxim=max(maxim,v[i][j]);
^
main.cpp:41:13: error: 'g' was not declared in this scope
for(auto it:g[j]){
^
main.cpp:52:13: error: 'g' was not declared in this scope
for(auto it:g[i]){
^
main.cpp:55:13: error: 'g' was not declared in this scope
for(auto it:g[i]){
^
main.cpp:26:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mexc.in","r",stdin);
^
main.cpp:27:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mexc.out","w",stdout);
^
main.cpp:30:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&d);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !