Borderou de evaluare (job #1939114)
Utilizator | Data | 25 martie 2017 14:26:19 | |
---|---|---|---|
Problema | Choco | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:17:1: error: expected initializer before ‘int’
int ans;
^
user.cpp: In function ‘void prec()’:
user.cpp:27:5: error: expected primary-expression before ‘}’ token
}
^
user.cpp:27:5: error: expected ‘;’ before ‘}’ token
user.cpp: In function ‘int main()’:
user.cpp:36:23: error: ‘a’ was not declared in this scope
scanf("%s\n", a[i] + 1);
^
user.cpp:41:17: error: ‘ok’ was not declared in this scope
ok[i][cf1] = 1;
^
user.cpp:43:44: error: ‘a’ was not declared in this scope
if ((cf1 & (1 << b) && a[i][b + 1] == '*'))
^
user.cpp:56:29: error: ‘ans’ was not declared in this scope
ans = min(ans, dp[n][cf1]);
^
user.cpp:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !