Borderou de evaluare (job #1570866)
Utilizator | Data | 16 ianuarie 2016 21:38:40 | |
---|---|---|---|
Problema | Joben | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
user.cpp: In function ‘int main()’:
user.cpp:13:43: error: expected unqualified-id before ‘,’ token
int N,cont1[25]={0},cont2[25]={0},,i,j,k,test;
^
user.cpp:23:34: error: ‘strchr’ was not declared in this scope
pch=strchr(str1,z);
^
user.cpp:36:34: error: ‘strchr’ was not declared in this scope
pch=strchr(str2,z);
^
user.cpp:50:30: error: ‘cont’ was not declared in this scope
if(cont1[j]!=cont[2])
^
user.cpp:13:48: warning: unused variable ‘k’ [-Wunused-variable]
int N,cont1[25]={0},cont2[25]={0},,i,j,k,test;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !