Borderou de evaluare (job #2410286)
Utilizator | Data | 19 aprilie 2019 21:08:57 | |
---|---|---|---|
Problema | Cli | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void plusUnu()':
main.cpp:35:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < ans.size(); i ++) {
~~^~~~~~~~~~~~
main.cpp: In function 'void promenada(Trie*, int)':
main.cpp:52:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < dp[nod->index].size(); j ++) {
~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp:55:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = dp[nod->index].size(); j < ans.size(); j ++) {
~~^~~~~~~~~~~~
main.cpp: In function 'void citire()':
main.cpp:70:17: error: 'gets' was not declared in this scope
gets(str);
^
main.cpp:67:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
main.cpp: In function 'int main()':
main.cpp:84:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cli.in", "r", stdin);
^
main.cpp:85:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cli.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !