Borderou de evaluare (job #2703892)
Utilizator | Data | 9 februarie 2021 14:02:15 | |
---|---|---|---|
Problema | Blis | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:6: error: 'vector' in namespace 'std' does not name a template type
std::vector<std::pair<int, int>> updts[2 + MAX_N];
^~~~~~
main.cpp: In function 'int main()':
main.cpp:50:9: error: 'updts' was not declared in this scope
updts[j].push_back({right, number});
^~~~~
main.cpp:53:19: error: 'updts' was not declared in this scope
for (auto p : updts[i])
^~~~~
main.cpp:26:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.in", "r", stdin);
^
main.cpp:27:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.out", "w", stdout);
^
main.cpp:30:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s", &k, s + 1);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !