Pagini recente » Borderou de evaluare (job #519742) | Borderou de evaluare (job #1747052) | Borderou de evaluare (job #1189099) | Borderou de evaluare (job #906621) | Borderou de evaluare (job #2129621)
Borderou de evaluare (job #2129621)
Raport evaluator
Compilare:
user.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
main(){int a,b;fscanf(fopen("adunare.in","r"),"%d%d",&a,&b);fprintf(fopen("adunare.out","w"),"w","%d",a+b);}
^
user.c: In function ‘main’:
user.c:1:16: warning: implicit declaration of function ‘fscanf’ [-Wimplicit-function-declaration]
main(){int a,b;fscanf(fopen("adunare.in","r"),"%d%d",&a,&b);fprintf(fopen("adunare.out","w"),"w","%d",a+b);}
^
user.c:1:16: warning: incompatible implicit declaration of built-in function ‘fscanf’
user.c:1:16: note: include ‘<stdio.h>’ or provide a declaration of ‘fscanf’
user.c:1:23: warning: implicit declaration of function ‘fopen’ [-Wimplicit-function-declaration]
main(){int a,b;fscanf(fopen("adunare.in","r"),"%d%d",&a,&b);fprintf(fopen("adunare.out","w"),"w","%d",a+b);}
^
user.c:1:23: warning: passing argument 1 of ‘fscanf’ makes pointer from integer without a cast [-Wint-conversion]
user.c:1:23: note: expected ‘void *’ but argument is of type ‘int’
user.c:1:61: warning: implicit declaration of function ‘fprintf’ [-Wimplicit-function-declaration]
main(){int a,b;fscanf(fopen("adunare.in","r"),"%d%d",&a,&b);fprintf(fopen("adunare.out","w"),"w","%d",a+b);}
^
user.c:1:61: warning: incompatible implicit declaration of built-in function ‘fprintf’
user.c:1:61: note: include ‘<stdio.h>’ or provide a declaration of ‘fprintf’
user.c:1:69: warning: passing argument 1 of ‘fprintf’ makes pointer from integer without a cast [-Wint-conversion]
main(){int a,b;fscanf(fopen("adunare.in","r"),"%d%d",&a,&b);fprintf(fopen("adunare.out","w"),"w","%d",a+b);}
^
user.c:1:69: note: expected ‘void *’ but argument is of type ‘int’
user.c:1:94: warning: too many arguments for format [-Wformat-extra-args]
main(){int a,b;fscanf(fopen("adunare.in","r"),"%d%d",&a,&b);fprintf(fopen("adunare.out","w"),"w","%d",a+b);}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
7 | 0ms | 756kb | 4544 != 25757 | 0 | 0 |
8 | 0ms | 876kb | 14113 != 25757 | 0 |
9 | 0ms | 884kb | 362 != 25757 | 0 |
10 | 0ms | 816kb | 7646 != 25757 | 0 |
1 | 0ms | 800kb | 3 != 25757 | 0 | 0 |
2 | 0ms | 872kb | 6 != 25757 | 0 |
3 | 0ms | 876kb | 14 != 25757 | 0 |
4 | 0ms | 816kb | 444 != 25757 | 0 | 0 |
5 | 0ms | 792kb | 1956 != 25757 | 0 |
6 | 0ms | 864kb | 2000 != 25757 | 0 |
Punctaj total | 0 |