Borderou de evaluare (job #1517192)

Utilizator fanache99Constantin-Buliga Stefan fanache99 Data 3 noiembrie 2015 22:35:22
Problema X Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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: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) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms304kbIncorect00
212ms316kbIncorect00
3128ms408kbIncorect00
4128ms408kbIncorect00
5Depăşit1376kbTime limit exceeded.00
68ms1376kbIncorect00
7Depăşit1376kbTime limit exceeded.00
8Depăşit1372kbTime limit exceeded.00
9Depăşit11036kbTime limit exceeded.00
10Depăşit11036kbTime limit exceeded.00
11Depăşit19812kbTime limit exceeded.00
12Depăşit19812kbTime limit exceeded.0
13Depăşit19812kbTime limit exceeded.0
14Depăşit19812kbTime limit exceeded.0
15156ms2252kbIncorect0
16Depăşit19812kbTime limit exceeded.00
17Depăşit19812kbTime limit exceeded.0
18Depăşit19812kbTime limit exceeded.0
19Depăşit19812kbTime limit exceeded.0
20Depăşit19812kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?