Borderou de evaluare (job #2042293)
Utilizator | Data | 18 octombrie 2017 12:45:44 | |
---|---|---|---|
Problema | Cerc3 | 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:42:13: error: ‘punct’ was not declared in this scope
punct nou;
^
user.cpp:42:19: error: expected ‘;’ before ‘nou’
punct nou;
^
user.cpp:43:13: error: ‘nou’ was not declared in this scope
nou.x=x;
^
user.cpp:27:13: warning: unused variable ‘r’ [-Wunused-variable]
int r,x,y;
^
user.cpp:53:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<dreapta[i].size();j++)
^
user.cpp:61:33: error: no match for ‘operator+’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<Cerc> >::value_type {aka Cerc}’ and ‘int’)
sf=dreapta[i][j]+dreapta[i][j].r;
^
user.cpp:51:13: warning: unused variable ‘inc’ [-Wunused-variable]
int inc=0,sf=0;
^
user.cpp:19:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&N);
^
user.cpp:22:62: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&cerc[i].x,&cerc[i].y,&cerc[i].r);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !