Borderou de evaluare (job #1864397)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 31 ianuarie 2017 18:57:21
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void solve2()’: user.cpp:38:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(nr.size()<m && k<n) ^ user.cpp:54:8: error: ‘l’ was not declared in this scope if(l<m) ^ user.cpp: In function ‘int main()’: user.cpp:69:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.in","r",stdin); ^ user.cpp:70:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("triunghi5.out","w",stdout); ^ user.cpp:71:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &v, &n, &m); ^ user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:76:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %d", &x); ^

Ceva nu functioneaza?