Borderou de evaluare (job #1297317)
Utilizator | Data | 21 decembrie 2014 22:00:05 | |
---|---|---|---|
Problema | Sarac Sau Rege | Status | done |
Runda | Happy Birthday Infoarena 2014 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void SolveKeepWithAINT()’:
user.cpp:70:17: error: ‘Q’ was not declared in this scope
Q[i].first, Q[i].first + currentDist));
^
user.cpp:70:42: error: ‘currentDist’ was not declared in this scope
Q[i].first, Q[i].first + currentDist));
^
user.cpp:70:54: error: ‘fprinf’ was not declared in this scope
Q[i].first, Q[i].first + currentDist));
^
user.cpp: In function ‘int main()’:
user.cpp:84:9: warning: unused variable ‘currentDist’ [-Wunused-variable]
int currentDist = N;
^
user.cpp: In function ‘void citire()’:
user.cpp:23:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d %d", &N, &M);
^
user.cpp:26:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &A[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:88:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (f, "%d %d", &a, &b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !