Borderou de evaluare (job #675020)

Utilizator deividFlorentin Dumitru deivid Data 6 februarie 2012 23:21:18
Problema Kgraf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int calc(int, int, int)’: user.cpp:32: error: conversion from ‘__gnu_cxx::__normal_iterator<std::pair<short int, int>*, std::vector<std::pair<short int, int>, std::allocator<std::pair<short int, int> > > >’ to non-scalar type ‘__gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > >’ requested user.cpp:32: error: no match for ‘operator!=’ in ‘itt != G[nod].std::vector<_Tp, _Alloc>::end [with _Tp = std::pair<short int, int>, _Alloc = std::allocator<std::pair<short int, int> >]()’ user.cpp: In function ‘int main()’: user.cpp:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result user.cpp:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?