Borderou de evaluare (job #1406276)
Utilizator | Data | 29 martie 2015 16:43:28 | |
---|---|---|---|
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:25:27: error: ‘strlen’ was not declared in this scope
sizeOfSub1 = strlen(sub1);
^
user.cpp:14:43: warning: unused variable ‘margin’ [-Wunused-variable]
int T, sizeOfSub1, sizeOfSub2, subIndex, margin, sizeOfFull, numberOfSubs;
^
user.cpp:17:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &T);
^
user.cpp:21:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s %s %s", full, sub1, sub2);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !