Borderou de evaluare (job #1640559)
Utilizator | Data | 8 martie 2016 18:20:27 | |
---|---|---|---|
Problema | Expresie2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Calcpr(int)’:
user.cpp:33:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
sir[ul-pr]=NULL;
^
user.cpp:70:13: error: ‘strrev’ was not declared in this scope
strrev(d);
^
user.cpp:73:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[pr]=NULL;
^
user.cpp:29:35: warning: unused variable ‘l’ [-Wunused-variable]
int pr, a[100001], n=0, sign, l, S=0, smax, i;
^
user.cpp: In function ‘void Calcpp(int)’:
user.cpp:86:15: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
sir[ul-pr]=NULL;
^
user.cpp:117:13: error: ‘strrev’ was not declared in this scope
strrev(d);
^
user.cpp:120:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[pr]=NULL;
^
user.cpp:82:35: warning: unused variable ‘l’ [-Wunused-variable]
int pr, a[100001], n=0, sign, l, S=0, smax, i;
^
user.cpp:82:38: warning: unused variable ‘S’ [-Wunused-variable]
int pr, a[100001], n=0, sign, l, S=0, smax, i;
^
user.cpp:82:49: warning: unused variable ‘i’ [-Wunused-variable]
int pr, a[100001], n=0, sign, l, S=0, smax, i;
^
user.cpp: In function ‘void Calc2()’:
user.cpp:127:17: warning: unused variable ‘l’ [-Wunused-variable]
int i, S=0, l, sign, n=0, a[100001], smax;
^
user.cpp:127:42: warning: unused variable ‘smax’ [-Wunused-variable]
int i, S=0, l, sign, n=0, a[100001], smax;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !