Borderou de evaluare (job #1562456)
Utilizator | Data | 5 ianuarie 2016 05:23:09 | |
---|---|---|---|
Problema | Per | 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:2: error: ‘f’ was not declared in this scope
f>>n>>k;
^
user.cpp:18:20: error: ‘val’ was not declared in this scope
for(j=0;j<n;++j) val[j]=(val[j]*26+(str[j+i-1]-'a'+1))%MOD;
^
user.cpp:23:28: error: ‘col’ was not declared in this scope
for(int pos=j+i;j<n&&col[pos]!=i&&val[pos]==val[j];pos+=j) ++nr_secv;
^
user.cpp:23:41: error: ‘val’ was not declared in this scope
for(int pos=j+i;j<n&&col[pos]!=i&&val[pos]==val[j];pos+=j) ++nr_secv;
^
user.cpp:25:23: error: ‘result’ was not declared in this scope
if (nr_secv>=k) result+=nr_secv-k+1;
^
user.cpp:29:8: error: ‘result’ was not declared in this scope
cout<<result<<'\n';
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !