Pagini recente » Borderou de evaluare (job #3120688) | Borderou de evaluare (job #3166377) | Borderou de evaluare (job #1054185) | Borderou de evaluare (job #85385) | Borderou de evaluare (job #2396721)
Borderou de evaluare (job #2396721)
Raport evaluator
Compilare:
main.cpp: In function 'void prnt(int, int, int, int, int)':
main.cpp:24:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a == b){
~~^~~~
main.cpp:25:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr[l + 1][c] >= st)
main.cpp:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr[l + 1][c] < dr)
main.cpp:30:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(a > b)
~~^~~
main.cpp: In function 'int main()':
main.cpp:41:33: warning: unused variable 'x' [-Wunused-variable]
int t, n, st, dr, i, j, a, b, x, mx = 0;
^
main.cpp:76:16: warning: unused variable 'tr' [-Wunused-variable]
unsigned int tr = 0;
^~
main.cpp:39: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:40: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:42: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:47: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 | 130ms | 3538kb | OK | 5 |
3 | 255ms | 7077kb | OK | 5 |
4 | 354ms | 11796kb | OK | 5 |
5 | 2ms | 262kb | OK | 5 |
6 | 10ms | 262kb | OK | 5 |
7 | 19ms | 393kb | OK | 5 |
8 | 15ms | 393kb | OK | 5 |
9 | 188ms | 2752kb | OK | 5 |
10 | 228ms | 3670kb | OK | 5 |
11 | 305ms | 5373kb | OK | 5 |
12 | 151ms | 4325kb | OK | 5 |
13 | 153ms | 4456kb | OK | 5 |
14 | 370ms | 6553kb | OK | 5 |
15 | 174ms | 5242kb | OK | 5 |
16 | 204ms | 6160kb | OK | 5 |
17 | 460ms | 9699kb | OK | 5 |
18 | 277ms | 9437kb | OK | 5 |
19 | 636ms | 13893kb | OK | 5 |
20 | 826ms | 15466kb | OK | 5 |
Punctaj total | 100 |