Borderou de evaluare (job #612775)

Utilizator avatar Tzepu Icriverzi Andrei Tzepu IP ascuns
Problemă Baza ascunsă (clasa a 6-a) Compilator c-32
Rundă Tema 5 clasa a 6-a Status evaluat
Dată 27 oct. 2021 18:14:49 Scor 50

Raport evaluator

Compilare: main.c: In function 'main': main.c:43:31: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration] 43 | numar=numar+v[i]*(pow(baza,i2)); | ^~~ main.c:43:31: warning: incompatible implicit declaration of built-in function 'pow' main.c:3:1: note: include '<math.h>' or provide a declaration of 'pow' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | main.c:6:26: warning: unused variable 'exponent' [-Wunused-variable] 6 | int n,i=0,i2,numar=0,exponent=0,i3,bazaFinala; | ^~~~~~~~ main.c:14:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 14 | fscanf (fis1, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:16:11: warning: 'k' is used uninitialized in this function [-Wuninitialized] 16 | while (k!='\n') | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb OK 10
4 1 ms 131 kb OK 10
5 1 ms 131 kb OK 10
6 5007 ms 131 kb Time limit exceeded 0
7 5005 ms 131 kb Time limit exceeded 0
8 1 ms 131 kb Incorect 0
9 5002 ms 131 kb Time limit exceeded 0
10 5012 ms 131 kb Time limit exceeded 0
Punctaj total 50