Pagini recente » Borderou de evaluare (job #1092859) | Borderou de evaluare (job #2625022) | Borderou de evaluare (job #1678594) | Borderou de evaluare (job #3259410) | Borderou de evaluare (job #1517211)
Borderou de evaluare (job #1517211)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:40: warning: format ‘%s’ expects argument of type ‘char*’, but argument 5 has type ‘char (*)[1000010]’ [-Wformat=]
scanf("%d%d%d\n%s%s",&n,&m,&t,&a,&b);
^
user.cpp:21:40: warning: format ‘%s’ expects argument of type ‘char*’, but argument 6 has type ‘char (*)[1000010]’ [-Wformat=]
user.cpp:19:32: warning: variable ‘r0’ set but not used [-Wunused-but-set-variable]
int m,n,len,i,l=0,r=0,k,k0,r0,t,l0,lung,q,p,nr=0,x,y;
^
user.cpp:19:37: warning: variable ‘l0’ set but not used [-Wunused-but-set-variable]
int m,n,len,i,l=0,r=0,k,k0,r0,t,l0,lung,q,p,nr=0,x,y;
^
user.cpp:19:49: warning: unused variable ‘nr’ [-Wunused-variable]
int m,n,len,i,l=0,r=0,k,k0,r0,t,l0,lung,q,p,nr=0,x,y;
^
user.cpp:17:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("x.in","r",stdin);
^
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("x.out","w",stdout);
^
user.cpp:21:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n%s%s",&n,&m,&t,&a,&b);
^
user.cpp:88:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:64:58: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(lit(s[k+lung])==1&&s[k+lung]==s[1+lung]&&1+lung<=p)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 292kb | Incorect | 0 | 0 |
| 2 | 0ms | 296kb | Incorect | 0 | 0 |
| 3 | 0ms | 396kb | Incorect | 0 | 0 |
| 4 | 0ms | 396kb | Incorect | 0 | 0 |
| 5 | 4ms | 1368kb | Incorect | 0 | 0 |
| 6 | 8ms | 1364kb | Incorect | 0 | 0 |
| 7 | 8ms | 1364kb | Incorect | 0 | 0 |
| 8 | 16ms | 1360kb | Incorect | 0 | 0 |
| 9 | 104ms | 11024kb | Incorect | 0 | 0 |
| 10 | 240ms | 11028kb | Incorect | 0 | 0 |
| 11 | 404ms | 19800kb | Incorect | 0 | 0 |
| 12 | 388ms | 19804kb | Incorect | 0 |
| 13 | 400ms | 19800kb | Incorect | 0 |
| 14 | 432ms | 19800kb | Incorect | 0 |
| 15 | 356ms | 2248kb | Incorect | 0 |
| 16 | 468ms | 19800kb | Incorect | 0 | 0 |
| 17 | 436ms | 19800kb | Incorect | 0 |
| 18 | 428ms | 19800kb | Incorect | 0 |
| 19 | 428ms | 19796kb | Incorect | 0 |
| 20 | 420ms | 19804kb | Incorect | 0 |
| Punctaj total | 0 |