Pagini recente » Borderou de evaluare (job #1794566) | Borderou de evaluare (job #2785526) | Borderou de evaluare (job #1557524) | Borderou de evaluare (job #1393834) | Borderou de evaluare (job #2133565)
Borderou de evaluare (job #2133565)
Raport evaluator
Compilare:
user.c: In function ‘prim’:
user.c:7:16: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration]
for(i=2;i<=sqrt(a);i++)
^
user.c:7:16: warning: incompatible implicit declaration of built-in function ‘sqrt’
user.c:7:16: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’
user.c: In function ‘main’:
user.c:19:28: warning: implicit declaration of function ‘log’ [-Wimplicit-function-declaration]
for(i=2;i<=n;i++,nr+=n/log(n)+1){
^
user.c:19:28: warning: incompatible implicit declaration of built-in function ‘log’
user.c:19:28: note: include ‘<math.h>’ or provide a declaration of ‘log’
user.c:14:20: warning: unused variable ‘l’ [-Wunused-variable]
int i,j,n,nr=0,l;
^
user.c:14:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,n,nr=0,l;
^
user.c:17: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 | 52ms | 948kb | Raspuns gresit | 0 |
2 | 0ms | 944kb | Raspuns gresit | 0 |
3 | 0ms | 948kb | Raspuns gresit | 0 |
4 | 4ms | 948kb | Raspuns gresit | 0 |
5 | 32ms | 944kb | Raspuns gresit | 0 |
6 | 68ms | 948kb | Raspuns gresit | 0 |
7 | 184ms | 948kb | Raspuns gresit | 0 |
8 | 436ms | 948kb | Raspuns gresit | 0 |
9 | Depăşit | 944kb | Time limit exceeded. | 0 |
10 | Depăşit | 944kb | Time limit exceeded. | 0 |
Punctaj total | 0 |