Pagini recente » Borderou de evaluare (job #1216891) | Borderou de evaluare (job #666769) | Borderou de evaluare (job #1815920) | Borderou de evaluare (job #1498399) | Borderou de evaluare (job #1517199)
Borderou de evaluare (job #1517199)
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: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:63: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)
^
user.cpp:93:9: warning: ‘q’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=q)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | Incorect | 0 | 0 |
2 | 0ms | 316kb | Incorect | 0 | 0 |
3 | 0ms | 412kb | Incorect | 0 | 0 |
4 | 0ms | 408kb | Incorect | 0 | 0 |
5 | 4ms | 1380kb | Incorect | 0 | 0 |
6 | 8ms | 1376kb | Incorect | 0 | 0 |
7 | 8ms | 1372kb | Incorect | 0 | 0 |
8 | 16ms | 1376kb | Incorect | 0 | 0 |
9 | 112ms | 11036kb | Incorect | 0 | 0 |
10 | 264ms | 11040kb | Incorect | 0 | 0 |
11 | 424ms | 19812kb | Incorect | 0 | 0 |
12 | 424ms | 19812kb | Incorect | 0 |
13 | 432ms | 19808kb | Incorect | 0 |
14 | 468ms | 19816kb | Incorect | 0 |
15 | 384ms | 2256kb | Incorect | 0 |
16 | 508ms | 19812kb | Incorect | 0 | 0 |
17 | 472ms | 19812kb | Incorect | 0 |
18 | 460ms | 19812kb | Incorect | 0 |
19 | 460ms | 19812kb | Incorect | 0 |
20 | 456ms | 19816kb | Incorect | 0 |
Punctaj total | 0 |