Borderou de evaluare (job #1842281)
Utilizator | Data | 6 ianuarie 2017 19:20:32 | |
---|---|---|---|
Problema | Compresie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:18: error: size of array ‘a’ is too large
char s[N], a[N][N];
^
user.cpp: In function ‘int main()’:
user.cpp:16:27: error: ‘strlen’ was not declared in this scope
for(int i=0;i<strlen(s);i++)
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compresie.in", "r", stdin);
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compresie.out", "w", stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !