Pagini recente » Borderou de evaluare (job #2428658) | Borderou de evaluare (job #2885319) | Borderou de evaluare (job #1213383) | Borderou de evaluare (job #3300160) | Borderou de evaluare (job #2774472)
Borderou de evaluare (job #2774472)
Raport evaluator
Compilare:
main.cpp: In function 'int get_area(std::vector<std::pair<int, int> >&)':
main.cpp:65:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(pos_p < positive.size() and positive[pos_p].first <= i){
~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:69:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(pos_n < negative.size() and negative[pos_n].first <= i){
~~~~~~^~~~~~~~~~~~~~~~~
main.cpp: In function 'void setIO(std::__cxx11::string, bool, bool)':
main.cpp:7:51: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(input) freopen(inputname.c_str(), "r", stdin);
^
main.cpp:8:54: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
if(output) freopen(outputname.c_str(), "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Corect | 10 |
| 2 | 2ms | 131kb | Corect | 10 |
| 3 | 2ms | 131kb | Corect | 10 |
| 4 | 2ms | 131kb | Corect | 10 |
| 5 | 2ms | 131kb | Corect | 10 |
| 6 | 2ms | 131kb | Corect | 10 |
| 7 | 3ms | 262kb | Corect | 10 |
| 8 | 4ms | 262kb | Corect | 10 |
| 9 | 4ms | 262kb | Corect | 10 |
| 10 | 3ms | 262kb | Corect | 10 |
| Punctaj total | 100 |