Borderou de evaluare (job #1831131)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 17 decembrie 2016 15:30:51
Problema ClassicTask Status done
Runda Arhiva Monthly Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘expo’: user.c:26:9: error: too few arguments to function ‘expo’ return expo((expo(a, b/2), 2, c), 2, c) % c; ^ user.c:18:11: note: declared here long long expo(long long a, long long b, long long c){ ^ user.c:26:34: warning: left-hand operand of comma expression has no effect [-Wunused-value] return expo((expo(a, b/2), 2, c), 2, c) % c; ^ user.c:26:37: warning: left-hand operand of comma expression has no effect [-Wunused-value] return expo((expo(a, b/2), 2, c), 2, c) % c; ^ user.c: In function ‘main’: user.c:43:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &A); ^ user.c:44:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &B); ^ user.c:45:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &C); ^

Ceva nu functioneaza?