Borderou de evaluare (job #2255242)

Utilizator ardutgamerAndrei Bancila ardutgamer Data 6 octombrie 2018 17:06:06
Problema Flori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0 ; i < v.size() ; i++) ~~^~~~~~~~~~ user.cpp:51:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0 ; j < v.size() ; j++) ~~^~~~~~~~~~ user.cpp:63:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 1 ; j < pante.size() ; j++) ~~^~~~~~~~~~~~~~ user.cpp:74:13: error: expected ‘;’ before ‘}’ token } ^ user.cpp:27:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori2.in","r",stdin); ^ user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori2.out","w",stdout); ^ user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:42:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^

Ceva nu functioneaza?