Borderou de evaluare (job #2252752)
Utilizator | Data | 2 octombrie 2018 23:51:45 | |
---|---|---|---|
Problema | Ghicit | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:1: warning: ‘typedef’ was ignored in this declaration
typedef struct tip
^~~~~~~
user.cpp: In function ‘int lcp(int, int)’:
user.cpp:52:9: warning: unused variable ‘x’ [-Wunused-variable]
int x=a;
^
user.cpp:53:9: warning: unused variable ‘y’ [-Wunused-variable]
int y=b;
^
user.cpp: In function ‘int main()’:
user.cpp:71:13: error: ‘gets’ was not declared in this scope
gets(s+1);
^
user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ghicit.in","r",stdin);
^
user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ghicit.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !