Borderou de evaluare (job #1859796)
Utilizator | Data | 27 ianuarie 2017 20:24:32 | |
---|---|---|---|
Problema | Nori | Status | done |
Runda | PreOJI 2017 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.8/algorithm:62:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:64,
from user.cpp:1:
/usr/include/c++/4.8/bits/stl_algo.h: In instantiation of ‘_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, const _Tp&) [with _RandomAccessIterator = slope*; _Tp = slope]’:
/usr/include/c++/4.8/bits/stl_algo.h:2307:70: required from ‘_RandomAccessIterator std::__unguarded_partition_pivot(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = slope*]’
/usr/include/c++/4.8/bits/stl_algo.h:2338:54: required from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = slope*; _Size = int]’
/usr/include/c++/4.8/bits/stl_algo.h:5475:36: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = slope*]’
user.cpp:61:32: required from here
/usr/include/c++/4.8/bits/stl_algo.h:2269:19: error: passing ‘const slope’ as ‘this’ argument of ‘bool slope::operator<(const slope&)’ discards qualifiers [-fpermissive]
while (__pivot < *__last)
^
user.cpp: In function ‘void read()’:
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:40:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf %lf", &x, &y, &r);
^
user.cpp: In function ‘void solve()’:
user.cpp:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:58:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &M[nrm + i].x, &M[nrm + i].y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !