Borderou de evaluare (job #1515066)

Utilizator smaraldaSmaranda Dinu smaralda Data 1 noiembrie 2015 09:05:47
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
10ms272kbOK10
240ms1488kbRaspuns gresit40
364ms2096kbRaspuns gresit30
464ms2092kbRaspuns gresit40
5220ms6356kbRaspuns gresit30
632ms300kbRaspuns gresit30
764ms1888kbRaspuns gresit10
856ms1516kbRaspuns gresit30
9196ms4200kbRaspuns gresit40
10188ms4636kbRaspuns gresit30
Punctaj total10

Ceva nu functioneaza?