Pagini recente » Borderou de evaluare (job #556829) | Borderou de evaluare (job #1010927) | Borderou de evaluare (job #1609388) | Borderou de evaluare (job #2861355) | Borderou de evaluare (job #2296447)
Borderou de evaluare (job #2296447)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:59:22: warning: integer overflow in expression [-Woverflow]
maxim = 0 - 1000 * 10000000 - 1;
~~~~~^~~~~~~~~~
main.cpp:116:39: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'int' [-Wformat=]
printf("%lld %lld", maxim, nrmaxim);
^
main.cpp:116:39: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
main.cpp:55:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri3.in","r", stdin);
^
main.cpp:56:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri3.out","w", stdout);
^
main.cpp:58:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n ,&m, &k);
^
main.cpp:62:79: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &v[i].xs, &v[i].ys, &v[i].xd, &v[i].yj, &v[i].val);
^
main.cpp: In function 'int cbx(int, int)':
main.cpp:31:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^~~~
main.cpp: In function 'int cby(int, int)':
main.cpp:50:12: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^~~~
main.cpp: In function 'int main()':
main.cpp:109:29: warning: 'nrmaxim' may be used uninitialized in this function [-Wmaybe-uninitialized]
nrmaxim += (normix[i + 1] - normix[i]) * (normiy[j + 1] - normiy[j]);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:92:36: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
mat[x1][y2 + 1] -= v[i].val;
^
main.cpp:91:25: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
mat[x2 + 1][y1] -= v[i].val;
~~~~~~~~~~~~~~~~^~~~~~~~~~~
main.cpp:91:36: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
mat[x2 + 1][y1] -= v[i].val;
^
main.cpp:90:29: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized]
mat[x1][y1] += v[i].val;
^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | Incorect | 0 |
| 2 | 2ms | 262kb | Incorect | 0 |
| 3 | 3ms | 524kb | OK | 5 |
| 4 | 3ms | 524kb | Incorect | 0 |
| 5 | 7ms | 1966kb | Incorect | 0 |
| 6 | 6ms | 1835kb | Incorect | 0 |
| 7 | 18ms | 5373kb | Incorect | 0 |
| 8 | 18ms | 5505kb | Incorect | 0 |
| 9 | 32ms | 9437kb | OK | 5 |
| 10 | 33ms | 9830kb | OK | 5 |
| 11 | 64ms | 16252kb | Incorect | 0 |
| 12 | 71ms | 16252kb | Incorect | 0 |
| 13 | 64ms | 16252kb | Incorect | 0 |
| 14 | 52ms | 16252kb | Incorect | 0 |
| 15 | 64ms | 16252kb | Incorect | 0 |
| 16 | 64ms | 16252kb | Incorect | 0 |
| 17 | 52ms | 16252kb | Incorect | 0 |
| 18 | 64ms | 16252kb | Incorect | 0 |
| 19 | 69ms | 16252kb | Incorect | 0 |
| 20 | 64ms | 16252kb | Incorect | 0 |
| Punctaj total | 15 |