Borderou de evaluare (job #2785575)

Utilizator Remus.RughinisRemus Rughinis Remus.Rughinis Data 18 octombrie 2021 22:12:03
Problema Algebra2 Status done
Runda Arhiva de probleme Compilator c-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.c:5:5: warning: conflicting types for built-in function 'exp'; expected 'double(double)' [-Wbuiltin-declaration-mismatch] 5 | int exp(long long a, int b){ | ^~~ main.c:3:1: note: 'exp' is declared in header '<math.h>' 2 | #include <stdlib.h> +++ |+#include <math.h> 3 | #define MOD 1000000009 main.c: In function 'exp': main.c:6:15: warning: unused variable 'p' [-Wunused-variable] 6 | long long s,p; | ^ main.c: In function 'main': main.c:29:16: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 29 | fscanf(fin,"%d",&n); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:44:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 44 | fprintf(fout,"%d\n",s); | ~^ ~ | | | | int long long int | %lld main.c:25:7: warning: unused variable 'i' [-Wunused-variable] 25 | int i,x,y; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11ms184kbOK5
21ms184kbOK5
31ms184kbOK5
41ms184kbOK5
51ms184kbOK5
61ms184kbOK5
71ms184kbOK5
82ms184kbOK5
92ms184kbOK5
101ms184kbOK5
111ms184kbOK5
121ms184kbOK5
131ms184kbOK5
141ms184kbOK5
151ms184kbIncorect0
161ms184kbIncorect0
171ms184kbIncorect0
181ms184kbIncorect0
191ms184kbIncorect0
201ms184kbIncorect0
Punctaj total70

Ceva nu functioneaza?