Borderou de evaluare (job #1797996)
| Utilizator | Data | 4 noiembrie 2016 20:39:52 | |
|---|---|---|---|
| Problema | Inel | Status | done |
| Runda | selectie_emag_mediu_2016_runda3 | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void backtrack(int)’:
user.cpp:25:12: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(valid(p)) if((p==N)&& (ciur[st[1]+st[p]]==0)) contor++;
^
user.cpp: In function ‘int main()’:
user.cpp:33:5: error: ‘fin’ was not declared in this scope
fin>>N;
^
user.cpp:45:23: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(i=4;i<=n;i=i+=2) ciur[i]=1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
