Pagini recente » Borderou de evaluare (job #592240) | Borderou de evaluare (job #1545012) | Borderou de evaluare (job #1204760) | Borderou de evaluare (job #654737) | Borderou de evaluare (job #1517178)
Borderou de evaluare (job #1517178)
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:87: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:30: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 | 308kb | Incorect | 0 | 0 |
3 | 0ms | 404kb | Incorect | 0 | 0 |
4 | 0ms | 404kb | Incorect | 0 | 0 |
5 | 4ms | 1372kb | Incorect | 0 | 0 |
6 | 8ms | 1372kb | Incorect | 0 | 0 |
7 | 8ms | 1376kb | Incorect | 0 | 0 |
8 | 16ms | 1372kb | Incorect | 0 | 0 |
9 | 104ms | 11036kb | Incorect | 0 | 0 |
10 | 252ms | 11040kb | Incorect | 0 | 0 |
11 | 412ms | 19812kb | Incorect | 0 | 0 |
12 | 400ms | 19808kb | Incorect | 0 |
13 | 408ms | 19804kb | Incorect | 0 |
14 | 444ms | 19812kb | Incorect | 0 |
15 | 388ms | 2252kb | Incorect | 0 |
16 | 484ms | 19808kb | Incorect | 0 | 0 |
17 | 460ms | 19808kb | Incorect | 0 |
18 | 452ms | 19808kb | Incorect | 0 |
19 | 444ms | 19812kb | Incorect | 0 |
20 | 440ms | 19812kb | Incorect | 0 |
Punctaj total | 0 |