Borderou de evaluare (job #2061101)
Utilizator | Data | 8 noiembrie 2017 22:09:35 | |
---|---|---|---|
Problema | Carte | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:11:16: error: ISO C++ forbids declaration of ‘a_precalc’ with no type [-fpermissive]
a_precalc(int k)
^
user.cpp: In function ‘int a_precalc(int)’:
user.cpp:15:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j < a.size())
^
user.cpp:28:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void str_match(int)’:
user.cpp:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j < b.size())
^
user.cpp:42:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i == a.size())
^
user.cpp: In function ‘int main()’:
user.cpp:72:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < b.size(); i++)
^
user.cpp:79:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < b.size(); j++)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !