Borderou de evaluare (job #1582317)

Utilizator RaduToporanRadu Toporan RaduToporan Data 27 ianuarie 2016 20:33:38
Problema Ferma3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int Fill(int, int, int)’: user.cpp:8:10: warning: variable ‘gata’ set but not used [-Wunused-but-set-variable] bool gata=true; ^ user.cpp: In function ‘int main()’: user.cpp:24:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[405]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ferma3.in","r",stdin); ^ user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ferma3.out","w",stdout); ^ user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v); ^ user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&m,&n); ^ user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbGresit!0
20ms504kbCorect! Varianta 15
30ms720kbCorect! Varianta 15
40ms772kbCorect! Varianta 15
516ms8420kbCorect! Varianta 15
60ms260kbLinie in afara matricei0
70ms360kbLinie in afara matricei0
80ms348kbLinie in afara matricei0
90ms396kbLinie in afara matricei0
100ms400kbLinie in afara matricei0
110ms460kbLinie in afara matricei0
120ms568kbLinie in afara matricei0
130ms888kbLinie in afara matricei0
140ms620kbLinie in afara matricei0
150ms676kbLinie in afara matricei0
160ms688kbLinie in afara matricei0
170ms708kbLinie in afara matricei0
180ms692kbLinie in afara matricei0
190ms892kbLinie in afara matricei0
200ms300kbCorect! Varianta 15
Punctaj total25

Ceva nu functioneaza?