Borderou de evaluare (job #1591356)
Utilizator | Data | 6 februarie 2016 09:54:35 | |
---|---|---|---|
Problema | String Repair | Status | done |
Runda | Arhiva Monthly | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:14:2: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration]
n = strlen(s1);
^
user.c:14:6: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default]
n = strlen(s1);
^
user.c:33:21: error: request for member ‘charAt’ in something not a structure or union
while (i < n && s1.charAt(i) != s2.charAt(j)) i++;
^
user.c:33:37: error: request for member ‘charAt’ in something not a structure or union
while (i < n && s1.charAt(i) != s2.charAt(j)) i++;
^
user.c:13:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s1, MAX_DIM, f);
^
user.c:19:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s2, MAX_DIM, f);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !