Pagini recente » Borderou de evaluare (job #1234736) | Borderou de evaluare (job #1046579) | Borderou de evaluare (job #1794194) | Borderou de evaluare (job #1383450) | Borderou de evaluare (job #1409659)
Borderou de evaluare (job #1409659)
Raport evaluator
Compilare:
user.cpp: In function ‘int poz(int, int, int)’:
user.cpp:9:14: warning: unused variable ‘i’ [-Wunused-variable]
long int i,j,poz=-1,min;
^
user.cpp:9:16: warning: unused variable ‘j’ [-Wunused-variable]
long int i,j,poz=-1,min;
^
user.cpp: In function ‘int main()’:
user.cpp:48:30: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%hd %hd", &nl, &nc);
^
user.cpp:48:30: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:51:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &m[i][j]);
^
user.cpp:107:24: warning: format ‘%hd’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%hd\n", max);
^
user.cpp:118:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d\n", l, c);
^
user.cpp:118:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:141:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d\n", l, c);
^
user.cpp:141:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:46:22: warning: unused variable ‘lg’ [-Wunused-variable]
long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c;
^
user.cpp:46:25: warning: unused variable ‘lm’ [-Wunused-variable]
long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c;
^
user.cpp:46:41: warning: unused variable ‘vp’ [-Wunused-variable]
long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c;
^
user.cpp:46:44: warning: variable ‘ci’ set but not used [-Wunused-but-set-variable]
long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c;
^
user.cpp:46:47: warning: variable ‘li’ set but not used [-Wunused-but-set-variable]
long int i,j,max,lg,lm,lmax,cmax,vo,vp,ci,li,ret,np,l,c;
^
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spider.in", "r", stdin);
^
user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spider.out", "w", stdout);
^
user.cpp:48:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd", &nl, &nc);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 5 |
2 | 0ms | 308kb | OK | 5 |
3 | 0ms | 376kb | OK | 5 |
4 | 0ms | 424kb | OK | 5 |
5 | 4ms | 476kb | OK | 5 |
6 | 12ms | 524kb | OK | 5 |
7 | 24ms | 768kb | OK | 5 |
8 | 292ms | 1484kb | OK | 5 |
9 | 336ms | 2040kb | OK | 5 |
10 | 504ms | 2208kb | OK | 5 |
11 | 652ms | 2800kb | OK | 5 |
12 | Depăşit | 2852kb | Time limit exceeded. | 0 |
13 | 552ms | 3040kb | OK | 5 |
14 | Depăşit | 3176kb | Time limit exceeded. | 0 |
15 | 856ms | 3296kb | OK | 5 |
16 | Depăşit | 3412kb | Time limit exceeded. | 0 |
17 | 820ms | 3680kb | OK | 5 |
18 | Depăşit | 4096kb | Time limit exceeded. | 0 |
19 | Depăşit | 4144kb | Time limit exceeded. | 0 |
20 | Depăşit | 4144kb | Time limit exceeded. | 0 |
Punctaj total | 70 |