Borderou de evaluare (job #2240371)
Utilizator | Data | 13 septembrie 2018 10:19:59 | |
---|---|---|---|
Problema | Panda | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:82: error: ‘INT_MAX’ was not declared in this scope
int task, task1, verifConstant, n, m, t, s, pandaCode, xStart, yStart, timeMin = INT_MAX, nt;
^~~~~~~
user.cpp: In function ‘bool Verif(int)’:
user.cpp:19:20: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if(new1 ^ new2 == verifConstant)
~~~~~^~~~~~~~~~~~~~~~
user.cpp: In function ‘void Lee()’:
user.cpp:55:39: error: ‘INT_MAX’ was not declared in this scope
if(timeMin == INT_MAX)
^~~~~~~
user.cpp:58:29: error: ‘nt’ was not declared in this scope
nt = 1;
^~
user.cpp:61:29: error: ‘nt’ was not declared in this scope
nt++;
^~
user.cpp: In function ‘int main()’:
user.cpp:103:31: error: ‘nt’ was not declared in this scope
fout << timeMin << ' ' << nt << '\n';
^~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !