Borderou de evaluare (job #1820602)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 1 decembrie 2016 22:20:24
Problema Modulo Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘expo’: user.c:11:13: error: too few arguments to function ‘expo’ return expo(expo(a,b/2),2) % c; ^ user.c:3:11: note: declared here long long expo(long long a, long long b, long long c){ ^ user.c:11:13: error: too few arguments to function ‘expo’ return expo(expo(a,b/2),2) % c; ^ user.c:3:11: note: declared here long long expo(long long a, long long b, long long c){ ^ user.c:14:9: error: too few arguments to function ‘expo’ return a*(expo(expo(a,(b-1)/2),2)%c); ^ user.c:3:11: note: declared here long long expo(long long a, long long b, long long c){ ^ user.c:14:9: error: too few arguments to function ‘expo’ return a*(expo(expo(a,(b-1)/2),2)%c); ^ user.c:3:11: note: declared here long long expo(long long a, long long b, long long c){ ^ user.c:16:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.c: In function ‘main’: user.c:28:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &A); ^ user.c:29:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &B); ^ user.c:30:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &C); ^

Ceva nu functioneaza?