Borderou de evaluare (job #1408106)
Utilizator | Data | 29 martie 2015 19:58:39 | |
---|---|---|---|
Problema | Secv10 | Status | done |
Runda | ONIS 2015, Runda 2 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:15: error: ‘strlen’ was not declared in this scope
n = strlen(S);
^
user.cpp:24:28: error: ‘strncmp’ was not declared in this scope
if (strncmp(st, S + i, s))x++;
^
user.cpp:25:28: error: ‘strncmp’ was not declared in this scope
if (strncmp(dr, S + i, d))
^
user.cpp:12:34: warning: unused variable ‘p’ [-Wunused-variable]
char S[NMAX],st[NMAX],dr[NMAX],*p;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !