Borderou de evaluare (job #2243311)

Utilizator bori2000Fazakas Borbala bori2000 Data 20 septembrie 2018 11:58:01
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:23:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<=s.length()-1; i++) ~^~~~~~~~~~~~~~ user.cpp:26:20: warning: comparison with string literal results in unspecified behavior [-Waddress] if((x>="a" and x<="z") or (x>="A" and x<="Z")) ^~~ user.cpp:26:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:26:31: warning: comparison with string literal results in unspecified behavior [-Waddress] if((x>="a" and x<="z") or (x>="A" and x<="Z")) ^~~ user.cpp:26:31: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:26:43: warning: comparison with string literal results in unspecified behavior [-Waddress] if((x>="a" and x<="z") or (x>="A" and x<="Z")) ^~~ user.cpp:26:43: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] user.cpp:26:54: warning: comparison with string literal results in unspecified behavior [-Waddress] if((x>="a" and x<="z") or (x>="A" and x<="Z")) ^~~ user.cpp:26:54: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

Ceva nu functioneaza?