Borderou de evaluare (job #2234204)
Utilizator | Data | 25 august 2018 13:29:46 | |
---|---|---|---|
Problema | Copii3 | Status | done |
Runda | Algoritmiada 2018 Runda Maraton | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘long long int cost(long long int, long long int, int)’:
user.cpp:19:18: error: ‘cnt’ was not declared in this scope
if(cnt + 1 <= m) {
^~~
user.cpp:26:5: error: ‘cnt’ was not declared in this scope
cnt = m;
^~~
user.cpp:31:6: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i = r + 1; i <= n; ++i)
^~~
user.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
return sact;
^~~~~~
user.cpp: In function ‘int main()’:
user.cpp:71:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<vs.size()-1;++j)
~^~~~~~~~~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !