Borderou de evaluare (job #2171204)
Utilizator | Data | 15 martie 2018 11:32:41 | |
---|---|---|---|
Problema | Maxk | 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:12:21: error: ‘INT_MAX’ was not declared in this scope
int n, k, ans = INT_MAX, num = 0, j = 0;
^
user.cpp:18:7: error: ‘num’ was not declared in this scope
num += (freq[v[i]] == k + 1);
^
user.cpp:21:12: error: ‘num’ was not declared in this scope
while (num > 0) {
^
user.cpp:22:9: error: ‘j’ was not declared in this scope
++j;
^
user.cpp:26:31: error: ‘j’ was not declared in this scope
for (int i = 1; i <= n && j <= n; ++i) {
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !