Pagini recente » Borderou de evaluare (job #3269343) | Borderou de evaluare (job #1355317) | Borderou de evaluare (job #3265701) | Borderou de evaluare (job #3189847) | Borderou de evaluare (job #2478185)
Borderou de evaluare (job #2478185)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:74:9: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
gets(s);
^~~~
main.c:75:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
n=strlen(s);
^~~~~~
main.c:75:11: warning: incompatible implicit declaration of built-in function 'strlen'
main.c:75:11: note: include '<string.h>' or provide a declaration of 'strlen'
main.c:30:11: warning: variable 't' set but not used [-Wunused-but-set-variable]
int l,t;
^
main.c:30:9: warning: unused variable 'l' [-Wunused-variable]
int l,t;
^
main.c:29:36: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int k,x,a,b,c,d,f,nr,n,y,j,i,r,p,rez1,rez2,gr1,gr2,rez,o,s2,s1,nr2;
^
main.c:29:30: warning: unused variable 'j' [-Wunused-variable]
int k,x,a,b,c,d,f,nr,n,y,j,i,r,p,rez1,rez2,gr1,gr2,rez,o,s2,s1,nr2;
^
main.c:29:9: warning: variable 'k' set but not used [-Wunused-but-set-variable]
int k,x,a,b,c,d,f,nr,n,y,j,i,r,p,rez1,rez2,gr1,gr2,rez,o,s2,s1,nr2;
^
main.c:27:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:28:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:47:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&y,&x);
^~~~~~~~~~~~~~~~~~~~~~
main.c:52:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[z]);
^~~~~~~~~~~~~~~~~
main.c:53:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^~~~~~~~~~~
./ccDC9cJC.o: In function `main':
main.c:(.text.startup+0xeb): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 17ms | 262kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 60ms | 786kb | OK | 10 |
8 | 92ms | 1179kb | OK | 10 |
9 | 6ms | 131kb | OK | 10 |
10 | 6ms | 131kb | OK | 10 |
Punctaj total | 100 |