Borderou de evaluare (job #1294628)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 17 decembrie 2014 21:49:54
Problema Regiuni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d %d %d\n", &a[i], &b[i], &c[i]); ^ user.cpp:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:18:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:20:19: warning: unused variable ‘Ans’ [-Wunused-variable] int A, B, Ans = 0; ^ user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("regiuni.in", "r", stdin); ^ user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("regiuni.out", "w", stdout); ^ user.cpp:16:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:18:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &a[i], &b[i], &c[i]); ^ user.cpp:21:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &A, &B); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112msDepăşitMemory limit exceeded.0
20msDepăşitMemory limit exceeded.0
30msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
64msDepăşitMemory limit exceeded.0
78msDepăşitMemory limit exceeded.0
88msDepăşitMemory limit exceeded.0
912msDepăşitMemory limit exceeded.0
1016msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?