Borderou de evaluare (job #2780841)

Utilizator Remus.RughinisRemus Rughinis Remus.Rughinis Data 7 octombrie 2021 22:30:29
Problema Cabana Status done
Runda Arhiva ICPC Compilator c-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.c:6:5: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 6 | int exp(int a, int b, int s){ | ^~~ main.c:3:1: note: 'exp' is declared in header '<math.h>' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | #define MOD 1000000007 main.c: In function 'main': main.c:60:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 60 | fprintf(fout,"%d\n",s%MOD); | ~^ | | | int | %lld main.c:10:15: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 10 | return s*s*a % MOD; | ~~~^~ main.c:32:18: note: 'x' was declared here 32 | int t,n,k,ti,i,x; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1703ms245kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?