Borderou de evaluare (job #1804097)

Utilizator calin1Serban Calin calin1 Data 12 noiembrie 2016 11:14:37
Problema Log Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int cazul2(int)’: user.cpp:35:9: error: ‘tmp’ was not declared in this scope tmp = t2 * (poz - i) + transformare(vec[i].a, vec[poz].b) + d[i - 1] + t1; ^ user.cpp: In function ‘void citire()’: user.cpp:61:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:63:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &t1, &t2, &t3); ^ user.cpp:67:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &vec[i].a, &vec[i].b); ^ user.cpp: In function ‘int main()’: user.cpp:75:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("log.in","r",stdin); ^ user.cpp:76:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("log.out","w",stdout); ^

Ceva nu functioneaza?