Borderou de evaluare (job #2931730)

Utilizator cezarinfoTulceanu Cezar cezarinfo Data 31 octombrie 2022 20:33:23
Problema Dreptunghiuri3 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:11:20: error: 'long long int j1' redeclared as different kind of entity 11 | long long n,m,k,i1,j1,i2,j2,v,it,s,i,j,rad; | ^~ In file included from /usr/include/features.h:461, from /usr/include/x86_64-linux-gnu/c++/10/bits/os_defines.h:39, from /usr/include/x86_64-linux-gnu/c++/10/bits/c++config.h:522, from /usr/include/c++/10/cstdio:41, from main.cpp:1: /usr/include/x86_64-linux-gnu/bits/mathcalls.h:218:1: note: previous declaration 'double j1(double)' 218 | __MATHCALL (j1,, (_Mdouble_)); | ^~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:33:27: warning: format '%lld' expects argument of type 'long long int*', but argument 4 has type 'double (*)(double) throw ()' {aka 'double (*)(double)'} [-Wformat=] 33 | fscanf(in,"%lld%lld%lld%lld%lld",&i1,&j1,&i2,&j2,&v); | ~~~^ ~~~ | | | | long long int* double (*)(double) throw () {aka double (*)(double)} main.cpp:35:14: error: invalid conversion from 'double (*)(double) throw ()' {aka 'double (*)(double)'} to 'long long int' [-fpermissive] 35 | el.y=j1; | ^~ | | | double (*)(double) throw () {aka double (*)(double)} main.cpp:66:14: error: invalid conversion from 'double (*)(double) throw ()' {aka 'double (*)(double)'} to 'long long int' [-fpermissive] 66 | el.y=j1; | ^~ | | | double (*)(double) throw () {aka double (*)(double)} main.cpp:112:16: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 112 | for(it=0;it<ox.size();it++) | ~~^~~~~~~~~~ main.cpp:116:16: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 116 | for(it=0;it<oy.size();it++) | ~~^~~~~~~~~~ main.cpp:124:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 124 | for(j=1;j<oy.size();j++) | ~^~~~~~~~~~ main.cpp:128:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 128 | for(i=1;i<ox.size();i++) | ~^~~~~~~~~~ main.cpp:131:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 131 | for(j=0;j<oy.size();j++) | ~^~~~~~~~~~ main.cpp:137:14: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 137 | for(i=0;i<ox.size();i++) | ~^~~~~~~~~~ main.cpp:139:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 139 | for(j=0;j<oy.size();j++) | ~^~~~~~~~~~ main.cpp:159:15: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 159 | if(w.x==ox.size()-1) Non zero exit status: 1

Ceva nu functioneaza?