Pagini recente » Borderou de evaluare (job #1909801) | Borderou de evaluare (job #171649) | Borderou de evaluare (job #2877856) | Borderou de evaluare (job #2188537) | 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 |