Borderou de evaluare (job #1422651)
Utilizator | Data | 19 aprilie 2015 14:59:47 | |
---|---|---|---|
Problema | Spatiu | Status | done |
Runda | ONIS 2015, Runda 3 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:2: error: ‘pos’ was not declared in this scope
pos.insert(make_pair(0, 0));
^
user.cpp:70:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘std::set<std::pair<int, int> >::size_type {aka unsigned int}’ [-Wformat=]
fprintf(g, "%ld\n", pos.size());
^
user.cpp:12:12: warning: unused variable ‘m’ [-Wunused-variable]
int n ,t, m;
^
user.cpp:17:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &t);
^
user.cpp:23:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%s", &n, buffer);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !