Borderou de evaluare (job #929432)
Utilizator | Data | 27 martie 2013 00:32:55 | |
---|---|---|---|
Problema | Timbre | 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:24: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
In file included from /usr/include/c++/4.4/algorithm:62,
from user.cpp:2:
/usr/include/c++/4.4/bits/stl_algo.h: In function ‘_FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<interval*, std::vector<interval, std::allocator<interval> > >, _Tp = int, _Compare = bool (*)(interval, interval)]’:
user.cpp:34: instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:2495: error: conversion from ‘const int’ to non-scalar type ‘interval’ requested
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !