Borderou de evaluare (job #2569408)
Utilizator | Data | 4 martie 2020 12:02:32 | |
---|---|---|---|
Problema | Taietura | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:8: error: 'unordered_map' in namespace 'std' does not name a template type
std :: unordered_map<long long , int> st;
^~~~~~~~~~~~~
main.cpp:4:8: error: 'unordered_map' in namespace 'std' does not name a template type
std :: unordered_map<long long , int> dr;
^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:14:3: error: 'st' was not declared in this scope
st[0] = 1;
^~
main.cpp:19:5: error: 'dr' was not declared in this scope
dr[sum[i]] ++;
^~
main.cpp:21:12: error: 'dr' was not declared in this scope
sol[1] = dr[0];
^~
main.cpp:11:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taietura.in" , "r" , stdin);
^
main.cpp:12:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taietura.out" , "w" , stdout);
^
main.cpp:13:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n);
^
main.cpp:17:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &v[i]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !