Borderou de evaluare (job #2475485)
Utilizator | Data | 16 octombrie 2019 23:21:18 | |
---|---|---|---|
Problema | Nasa | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:21: error: conflicting declaration 'unsigned int x [50000]'
unsigned int x[50000],y[50000],sum=0;
^
main.cpp:7:9: note: previous declaration as 'int x [50000]'
int a,b,x[50000],y[50000];
^
main.cpp:8:30: error: conflicting declaration 'unsigned int y [50000]'
unsigned int x[50000],y[50000],sum=0;
^
main.cpp:7:18: note: previous declaration as 'int y [50000]'
int a,b,x[50000],y[50000];
^
main.cpp: In function 'int main()':
main.cpp:17:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(unsigned int j=i;j*j<=b;j+=i)
~~~^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !