Borderou de evaluare (job #2021688)
Utilizator | Data | 14 septembrie 2017 12:06:44 | |
---|---|---|---|
Problema | Alee | 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:26:16: error: incompatible types in assignment of ‘int’ to ‘int [175]’
*(map + i) = 2147483647;
^
user.cpp:54:123: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses]
if (temp.X >= 0 && temp.Y >= 0 && temp.X < mapSize && temp.Y < mapSize && map[temp.X][temp.Y] > map[temp.X][temp.Y] > crrVal)
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alee.in", "r", stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alee.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !