Borderou de evaluare (job #2883625)
Utilizator | Data | 1 aprilie 2022 17:35:02 | |
---|---|---|---|
Problema | Pariuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:12: error: 'unordered_map' has not been declared in 'std'
3 | using std::unordered_map;
| ^~~~~~~~~~~~~
main.cpp:10:1: error: 'unordered_map' does not name a type
10 | unordered_map <long long, long long> map;
| ^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:19:39: error: 'struct std::pair<long long int, long long int>' has no member named 'secound'; did you mean 'second'?
19 | f>>perechi.first>>perechi.secound;
| ^~~~~~~
| second
main.cpp:20:13: error: 'map' was not declared in this scope
20 | map[perechi.first]+=perechi.secound;
| ^~~
main.cpp:2:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?
1 | #include <fstream>
+++ |+#include <map>
2 | using namespace std;
main.cpp:20:41: error: 'struct std::pair<long long int, long long int>' has no member named 'secound'; did you mean 'second'?
20 | map[perechi.first]+=perechi.secound;
| ^~~~~~~
| second
main.cpp:24:8: error: 'map' was not declared in this scope
24 | g<<map.size()<<'\n';
| ^~~
main.cpp:24:8: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !