Borderou de evaluare (job #1899922)
Utilizator | Data | 3 martie 2017 00:06:00 | |
---|---|---|---|
Problema | Petrica | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:101:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= road.size() - 3; i++)
^
user.cpp:106:19: error: ‘INT_MAX’ was not declared in this scope
int MIN_DIF = INT_MAX;
^
user.cpp:111:15: error: ‘INT_MIN’ was not declared in this scope
int max = INT_MIN;
^
user.cpp:145:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < perm.size(); i++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !