Borderou de evaluare (job #1192251)
Utilizator | Data | 28 mai 2014 21:01:28 | |
---|---|---|---|
Problema | Litere2 | Status | done |
Runda | Infoarena Monthly 2014 - Runda 5 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:28: error: cannot pass objects of non-trivially-copyable type ‘class std::basic_string<char>’ through ‘...’
printf("%s ",*j);
^
user.cpp:45:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘std::basic_string<char>’ [-Wformat=]
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("litere2.in","r",stdin);
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("litere2.out","w",stdout);
^
user.cpp:21:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !