Borderou de evaluare (job #2663876)

Utilizator Diana_IonitaIonita Diana Diana_Ionita Data 27 octombrie 2020 15:45:46
Problema Por Costel si Azerah Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void putere(int)': main.cpp:14:16: error: invalid operands of types 'long long unsigned int' and 'double' to binary 'operator%' p=p%mod; ^ main.cpp:18:12: error: invalid operands of types 'long long unsigned int' and 'double' to binary 'operator%' x=x%mod; ^ main.cpp:24:8: error: invalid operands of types 'long long unsigned int' and 'double' to binary 'operator%' p=p%mod; ^ main.cpp:25:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long unsigned int' [-Wformat=] printf("%d",p); ^ main.cpp: In function 'int main()': main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("azerah.in","r",stdin); ^ main.cpp:31:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("azerah.out","w",stdout); ^ main.cpp:32:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ main.cpp:36:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:39:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ Non zero exit status: 1

Ceva nu functioneaza?