Pagini recente » Borderou de evaluare (job #1978526) | Borderou de evaluare (job #1548618) | Borderou de evaluare (job #208431) | Borderou de evaluare (job #1322204) | Borderou de evaluare (job #2138178)
Borderou de evaluare (job #2138178)
Raport evaluator
Compilare:
user.c: In function ‘prim’:
user.c:8:16: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
for(i=2;i<=sqrt(a);i++)
^
user.c:8:16: warning: incompatible implicit declaration of built-in function ‘sqrt’
user.c:8:16: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’
user.c: In function ‘main’:
user.c:33:31: warning: implicit declaration of function ‘pow’ [-Wimplicit-function-declaration]
fi*=(i-1)*pow(i,w-1);
^
user.c:33:31: warning: incompatible implicit declaration of built-in function ‘pow’
user.c:33:31: note: include ‘<math.h>’ or provide a declaration of ‘pow’
user.c:15:30: warning: unused variable ‘pw’ [-Wunused-variable]
int i,m,w=0,k=0,p[10000],pw[10000],n,fi,nr=0,j;
^
user.c:15:21: warning: unused variable ‘p’ [-Wunused-variable]
int i,m,w=0,k=0,p[10000],pw[10000],n,fi,nr=0,j;
^
user.c:15:17: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
int i,m,w=0,k=0,p[10000],pw[10000],n,fi,nr=0,j;
^
user.c:18:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1000kb | Time limit exceeded. | 0 |
2 | 0ms | 1008kb | Ok! | 10 |
3 | 64ms | 1012kb | Ok! | 10 |
4 | 160ms | 1012kb | Ok! | 10 |
5 | Depăşit | 1008kb | Time limit exceeded. | 0 |
6 | Depăşit | 1004kb | Time limit exceeded. | 0 |
7 | Depăşit | 1000kb | Time limit exceeded. | 0 |
8 | Depăşit | 1004kb | Time limit exceeded. | 0 |
9 | Depăşit | 1008kb | Time limit exceeded. | 0 |
10 | Depăşit | 1004kb | Time limit exceeded. | 0 |
Punctaj total | 30 |