Borderou de evaluare (job #1820314)
Utilizator | Vladucu Iuliu Cristian julianvladucu | Data | 1 decembrie 2016 16:13:43 |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:5: error: ‘s’ was not declared in this scope
s=new char[2000001];
^
user.cpp:30:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char**’ [-Wformat=]
fscanf(f,"%s%s",&p,&t);
^
user.cpp:30:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char**’ [-Wformat=]
user.cpp:30:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s%s",&p,&t);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !