Borderou de evaluare (job #2276369)
Utilizator | Data | 4 noiembrie 2018 17:29:41 | |
---|---|---|---|
Problema | Telefon | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int Z(int, int)':
main.cpp:17:12: error: expected primary-expression before ')' token
if(A < ) cout << "DR " << B - A << " ";
^
main.cpp:19:12: error: expected primary-expression before ')' token
if(A > ) cout << "ST " << A - B << " ";
^
main.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:41:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i <= N.length();i++)
~~^~~~~~~~~~~~~
main.cpp:30:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("telefon.in", "r", stdin);
^
main.cpp:31:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("telefon.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 !