Borderou de evaluare (job #2464036)
Utilizator | Data | 28 septembrie 2019 13:39:48 | |
---|---|---|---|
Problema | Siruri duplicat | Status | done |
Runda | Romanian Collegiate Programming Contest 2019 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:1: error: 'vector' does not name a type
vector<int> hsh;
^~~~~~
main.cpp: In function 'int cntLen(int, int)':
main.cpp:34:5: error: 'hsh' was not declared in this scope
hsh.clear();
^~~
main.cpp:47:18: error: unable to deduce 'auto&&' from 'hsh'
for (int x : hsh) {
^~~
main.cpp: In function 'void solve()':
main.cpp:63:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str);
^
main.cpp: In function 'int main()':
main.cpp:77:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strdup.in", "r", stdin);
^
main.cpp:78:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strdup.out", "w", stdout);
^
main.cpp:80:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !