Borderou de evaluare (job #1232192)
Utilizator | Data | 22 septembrie 2014 12:43:33 | |
---|---|---|---|
Problema | Potrivirea sirurilor | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:47: error: expected ‘,’ or ‘...’ before ‘int’
bool matches(string A, string B, int a_length int start)
^
user.cpp: In function ‘bool matches(std::string, std::string, int)’:
user.cpp:11:17: error: ‘start’ was not declared in this scope
if (A[i] != B[start + i])
^
user.cpp: In function ‘int main()’:
user.cpp:35:32: error: too many arguments to function ‘bool matches(std::string, std::string, int)’
if (matches(A, B, a_length, i))
^
user.cpp:7:6: note: declared here
bool matches(string A, string B, int a_length int start)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !