Borderou de evaluare (job #2388807)
Utilizator | Data | 26 martie 2019 15:00:50 | |
---|---|---|---|
Problema | Rj | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dcd(char, int, int)':
main.cpp:16:11: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(x==" ")
^~~
main.cpp:16:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
main.cpp:21:11: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(x=="X")
^~~
main.cpp:21:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
main.cpp:26:11: warning: comparison with string literal results in unspecified behavior [-Waddress]
if(x=="R")
^~~
main.cpp:26:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
main.cpp: In function 'void cit()':
main.cpp:45:26: warning: format '%x' expects argument of type 'unsigned int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%x",&x);
^
main.cpp: At global scope:
main.cpp:49:26: error: declaration of 'ar' as multidimensional array must have bounds for all dimensions except the first
void play(crd p,int ar[][])
^
main.cpp:50:1: error: expected initializer before 'void'
void fnd()
^~~~
main.cpp: In function 'void cit()':
main.cpp:41:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:45:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%x",&x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !