Pagini recente » Borderou de evaluare (job #2203266) | Borderou de evaluare (job #2385307) | Borderou de evaluare (job #2135731) | Borderou de evaluare (job #1590148) | Borderou de evaluare (job #1735279)
Borderou de evaluare (job #1735279)
Raport evaluator
Compilare:
user.c:4:1: warning: data definition has no type or storage class [enabled by default]
t,n,s,i;
^
user.c:4:1: warning: type defaults to ‘int’ in declaration of ‘t’ [enabled by default]
user.c:4:3: warning: type defaults to ‘int’ in declaration of ‘n’ [enabled by default]
t,n,s,i;
^
user.c:4:5: warning: type defaults to ‘int’ in declaration of ‘s’ [enabled by default]
t,n,s,i;
^
user.c:4:7: warning: type defaults to ‘int’ in declaration of ‘i’ [enabled by default]
t,n,s,i;
^
user.c:5:1: warning: return type defaults to ‘int’ [enabled by default]
main(){freopen("cifra.in","r",stdin);freopen("cifra.out","w",stdout);
^
user.c: In function ‘main’:
user.c:7:1: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration]
for(;t--;){gets(b+1);n=atoi(b-strlen(b)+2);s=0;
^
user.c:7:1: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
user.c:7:31: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
for(;t--;){gets(b+1);n=atoi(b-strlen(b)+2);s=0;
^
user.c:5:15: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("cifra.in","r",stdin);freopen("cifra.out","w",stdout);
^
user.c:5:45: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
main(){freopen("cifra.in","r",stdin);freopen("cifra.out","w",stdout);
^
user.c:6:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.c:7:16: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
for(;t--;){gets(b+1);n=atoi(b-strlen(b)+2);s=0;
^
/tmp/ccbnltUe.o: In function `main':
user.c:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Raspuns gresit! | 0 |
2 | 0ms | 252kb | Raspuns gresit! | 0 |
3 | 0ms | 256kb | Raspuns gresit! | 0 |
4 | 0ms | 256kb | Raspuns gresit! | 0 |
5 | 0ms | 252kb | Raspuns gresit! | 0 |
6 | 0ms | 256kb | Raspuns gresit! | 0 |
7 | 0ms | 256kb | Raspuns gresit! | 0 |
8 | 4ms | 256kb | Raspuns gresit! | 0 |
9 | 8ms | 256kb | Raspuns gresit! | 0 |
10 | 20ms | 256kb | Raspuns gresit! | 0 |
Punctaj total | 0 |