Borderou de evaluare (job #1515058)

Utilizator smaraldaSmaranda Dinu smaralda Data 1 noiembrie 2015 08:45:40
Problema Rotatii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:136:9: warning: unused variable ‘total’ [-Wunused-variable] int total, i, n, m, val, pos, x, y, op, sz; ^ user.cpp:136:38: warning: unused variable ‘y’ [-Wunused-variable] int total, i, n, m, val, pos, x, y, op, sz; ^ user.cpp:136:45: warning: unused variable ‘sz’ [-Wunused-variable] int total, i, n, m, val, pos, x, y, op, sz; ^ user.cpp:134:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rotatii.in", "r", stdin); ^ user.cpp:135:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rotatii.out", "w", stdout); ^ user.cpp:140:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:142:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &val); ^ user.cpp:148:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:150:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &val); ^ user.cpp:155:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &pos); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
232ms1248kbRaspuns gresit30
352ms1728kbRaspuns gresit30
452ms1732kbRaspuns gresit30
5184ms5140kbRaspuns gresit30
624ms300kbRaspuns gresit40
748ms1572kbRaspuns gresit30
844ms1264kbRaspuns gresit40
9164ms3408kbRaspuns gresit30
10168ms3764kbRaspuns gresit30
Punctaj total10

Ceva nu functioneaza?