Borderou de evaluare (job #2735273)
Utilizator | Data | 2 aprilie 2021 10:17:28 | |
---|---|---|---|
Problema | Indep | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void S(V&, const V&)':
main.cpp:10:58: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
void S(V& A, const V& B) {if (A.empty()) A.push_back(0); for (size_t i = 0, j = std::max(A.size(), B.size()); i < j; i++)
^~~
main.cpp:11:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
I(A, i, B.size() <= i? 0: B[i]); if (!A.back()) A.pop_back();}
^~
main.cpp: In function 'void M(V&, const V&)':
main.cpp:13:39: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
void M(V& A, const V& B) {bool b = 0; for (size_t i = 0; i < B.size(); i++)
^~~
main.cpp:14:78: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if (B[i] + b <= A[i]) A[i] -= B[i] + b, b = 0; else A[i] += Z - B[i], b = 1; if (b) A[B.size()]--;}
^~
main.cpp: In function 'int main()':
main.cpp:26:85: error: 'f' was not declared in this scope
V A, B; for (auto p: F) {int c = 0; for (int i = 0; i < n; i++) f (!(X[i] % p.x)) c++; if (p.y & 1) S(A, P[c]); else S(B, P[c]);}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !