Pagini recente » Borderou de evaluare (job #61181) | Borderou de evaluare (job #758213) | Borderou de evaluare (job #1900080) | Borderou de evaluare (job #112124) | Borderou de evaluare (job #1517173)
Borderou de evaluare (job #1517173)
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,&q,&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,l0,lung,q,p,nr=0,x,y;
^
user.cpp:19:35: warning: variable ‘l0’ set but not used [-Wunused-but-set-variable]
int m,n,len,i,l=0,r=0,k,k0,r0,l0,lung,q,p,nr=0,x,y;
^
user.cpp:19:47: warning: unused variable ‘nr’ [-Wunused-variable]
int m,n,len,i,l=0,r=0,k,k0,r0,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,&q,&a,&b);
^
user.cpp:86: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:29: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 | 296kb | Incorect | 0 | 0 |
2 | 0ms | 304kb | Incorect | 0 | 0 |
3 | 0ms | 396kb | Incorect | 0 | 0 |
4 | 0ms | 400kb | Incorect | 0 | 0 |
5 | 4ms | 1368kb | Incorect | 0 | 0 |
6 | 8ms | 1372kb | Incorect | 0 | 0 |
7 | 12ms | 1364kb | Incorect | 0 | 0 |
8 | 16ms | 1368kb | Incorect | 0 | 0 |
9 | 96ms | 11032kb | Incorect | 0 | 0 |
10 | 236ms | 11032kb | Incorect | 0 | 0 |
11 | 384ms | 19804kb | Incorect | 0 | 0 |
12 | 380ms | 19804kb | Incorect | 0 |
13 | 376ms | 19808kb | Incorect | 0 |
14 | 416ms | 19804kb | Incorect | 0 |
15 | 360ms | 2248kb | Incorect | 0 |
16 | 452ms | 19804kb | Incorect | 0 | 0 |
17 | 428ms | 19804kb | Incorect | 0 |
18 | 408ms | 19804kb | Incorect | 0 |
19 | 420ms | 19804kb | Incorect | 0 |
20 | 412ms | 19800kb | Incorect | 0 |
Punctaj total | 0 |