Borderou de evaluare (job #1632578)

Utilizator UPB_itslupusUPB Crecana Cristache Jercaianu UPB_itslupus Data 6 martie 2016 10:31:16
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long long int findMaxSum(int*, int*, int, int)’: user.cpp:71:30: warning: variable ‘finalLeft’ set but not used [-Wunused-but-set-variable] long long maxSum = INT_MIN, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp:71:41: warning: variable ‘finalRight’ set but not used [-Wunused-but-set-variable] long long maxSum = INT_MIN, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp:71:53: warning: variable ‘finalTop’ set but not used [-Wunused-but-set-variable] long long maxSum = INT_MIN, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp:71:63: warning: variable ‘finalBottom’ set but not used [-Wunused-but-set-variable] long long maxSum = INT_MIN, finalLeft, finalRight, finalTop, finalBottom; ^ user.cpp: In function ‘int main()’: user.cpp:123: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:124:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:128:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:135:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:149: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit268kbTime limit exceeded.00
2Depăşit268kbTime limit exceeded.0
3Depăşit268kbTime limit exceeded.0
4Depăşit268kbTime limit exceeded.0
5Depăşit264kbTime limit exceeded.0
6Depăşit264kbTime limit exceeded.0
7Depăşit268kbTime limit exceeded.0
8Depăşit268kbTime limit exceeded.0
9Depăşit268kbTime limit exceeded.0
10Depăşit264kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?