Borderou de evaluare (job #2428212)

Utilizator FunnyStockyMihnea Andreescu FunnyStocky Data 4 iunie 2019 12:43:34
Problema Dlog Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:80:31: error: 'sqrt' was not declared in this scope int rad=sqrt(p),val=expow(g,rad); ^ main.cpp:95:33: error: 'val' was not declared in this scope f=expow(val,a); ^~~ main.cpp:71:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("dlog.in","r",stdin); ^ main.cpp:72:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("dlog.out","w",stdout); ^ main.cpp:75:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ main.cpp:79:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&p,&g,&y); ^ Non zero exit status: 1

Ceva nu functioneaza?