Pagini recente » Borderou de evaluare (job #497351) | Borderou de evaluare (job #3265084) | Borderou de evaluare (job #1161754) | Borderou de evaluare (job #1442527) | Borderou de evaluare (job #1634113)
Borderou de evaluare (job #1634113)
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 |
1 | Depăşit | 31768kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 31772kb | Time limit exceeded. | 0 |
3 | Depăşit | 31768kb | Time limit exceeded. | 0 |
4 | Depăşit | 31768kb | Time limit exceeded. | 0 |
5 | Depăşit | 31768kb | Time limit exceeded. | 0 |
6 | Depăşit | 31772kb | Time limit exceeded. | 0 |
7 | Depăşit | 31772kb | Time limit exceeded. | 0 |
8 | Depăşit | 31772kb | Time limit exceeded. | 0 |
9 | Depăşit | 31768kb | Time limit exceeded. | 0 |
10 | Depăşit | 31768kb | Time limit exceeded. | 0 |
Punctaj total | 0 |