Borderou de evaluare (job #1634113)

Utilizator UCV_Buleandra_Teodorescu_BadeaUCV TEODORESCU BADEA CIUREZ UCV_Buleandra_Teodorescu_Badea Data 6 martie 2016 13:21:21
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int findMaxSum(long long int (*)[2005])’: user.cpp:73:27: warning: variable ‘finalLeft’ set but not used [-Wunused-but-set-variable] long long maxSum = 0, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp:73:38: warning: variable ‘finalRight’ set but not used [-Wunused-but-set-variable] long long maxSum = 0, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp:73:50: warning: variable ‘finalTop’ set but not used [-Wunused-but-set-variable] long long maxSum = 0, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp:73:60: warning: variable ‘finalBottom’ set but not used [-Wunused-but-set-variable] long long maxSum = 0, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp: In function ‘void printMatrix()’: user.cpp:120:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", matrice[i][j]); ^ user.cpp: In function ‘int main()’: user.cpp:154:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld", findMaxSum(matrice)); ^ user.cpp:129:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.in", "r", stdin); ^ user.cpp:130:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("maxsubsum.out", "w", stdout); ^ user.cpp:132:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:136:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &a[i]); ^ user.cpp:141:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &b[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit31768kbTime limit exceeded.00
2Depăşit31772kbTime limit exceeded.0
3Depăşit31768kbTime limit exceeded.0
4Depăşit31768kbTime limit exceeded.0
5Depăşit31768kbTime limit exceeded.0
6Depăşit31772kbTime limit exceeded.0
7Depăşit31772kbTime limit exceeded.0
8Depăşit31772kbTime limit exceeded.0
9Depăşit31768kbTime limit exceeded.0
10Depăşit31768kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?