Borderou de evaluare (job #2131440)
Utilizator | Data | 14 februarie 2018 18:33:08 | |
---|---|---|---|
Problema | Lanterna | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int getMinDistForGivenW(int)’:
user.cpp:56:47: error: ‘wn’ was not declared in this scope
dp = vector<vector<int>>(n + 1, vector<int>(wn + 1, INF));
^
user.cpp: In function ‘int main()’:
user.cpp:93:31: warning: unused variable ‘last’ [-Wunused-variable]
int low, high, mid, minDist, last = k;
^
user.cpp: In function ‘void citeste(int&)’:
user.cpp:26:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,f),poz=0;
^
user.cpp:31:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff,1,DIM,f),poz=0;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !