Borderou de evaluare (job #2107445)
Utilizator | Data | 17 ianuarie 2018 10:41:20 | |
---|---|---|---|
Problema | Functii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d %d",&n,&s);
^
user.cpp:26:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:43:15: error: ‘rez2_’ was not declared in this scope
rez=(rez1*rez2_%mod;
^
user.cpp:43:24: error: expected ‘)’ before ‘;’ token
rez=(rez1*rez2_%mod;
^
user.cpp:26:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !