Pagini recente » Borderou de evaluare (job #583279) | Borderou de evaluare (job #2455552) | Borderou de evaluare (job #234765) | Cod sursa (job #234792) | Borderou de evaluare (job #2396714)
Borderou de evaluare (job #2396714)
Raport evaluator
Compilare:
main.cpp: In function 'void prnt(int, int, int, int, int)':
main.cpp:24:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr[l + 1][c] >= st)
~~~~~~~~~~~~~^~~~~
main.cpp:26:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr[l + 1][c] < dr)
~~~~~~~~~~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:40:33: warning: unused variable 'x' [-Wunused-variable]
int t, n, st, dr, i, j, a, b, x, mx = 0;
^
main.cpp:73:16: warning: unused variable 'tr' [-Wunused-variable]
unsigned int tr = 0;
^~
main.cpp:38:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("summax.in", "r", stdin);
^
main.cpp:39:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("summax.out", "w", stdout);
^
main.cpp:41:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &t, &n, &st, &dr);
^
main.cpp:44:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &vmax[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | OK | 5 |
| 2 | 142ms | 10616kb | OK | 5 |
| 3 | 253ms | 17039kb | OK | 5 |
| 4 | 295ms | 20496kb | Memory limit exceeded | 0 |
| 5 | 2ms | 262kb | OK | 5 |
| 6 | 10ms | 393kb | OK | 5 |
| 7 | 19ms | 786kb | OK | 5 |
| 8 | 17ms | 1048kb | OK | 5 |
| 9 | 166ms | 6684kb | OK | 5 |
| 10 | 219ms | 9175kb | OK | 5 |
| 11 | 303ms | 12582kb | OK | 5 |
| 12 | 142ms | 12320kb | OK | 5 |
| 13 | 148ms | 12582kb | OK | 5 |
| 14 | 376ms | 14680kb | OK | 5 |
| 15 | 181ms | 14024kb | OK | 5 |
| 16 | 227ms | 15597kb | OK | 5 |
| 17 | 486ms | 19791kb | OK | 5 |
| 18 | 307ms | 20447kb | OK | 5 |
| 19 | 314ms | 20496kb | Memory limit exceeded | 0 |
| 20 | 316ms | 20496kb | Memory limit exceeded | 0 |
| Punctaj total | 85 |