cezar.cpp: In function 'int main()':
cezar.cpp:46:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<min(niz[i].second.size(),niz[i-1].second.size());j++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cezar.cpp: At global scope:
cezar.cpp:124:39: error: redefinition of 'template<class T1, class T2> std::ostream& operator<<(std::ostream&, const std::pair<_T1, _T2>&)'
template<class T1, class T2> ostream& operator<<(ostream& os, const pair<T1,T2>& a) { os << '{' << a.f << ", " << a.s << '}'; return os; }
^~~~~~~~
cezar.cpp:19:39: note: 'template<class T1, class T2> std::ostream& operator<<(std::ostream&, const std::pair<_T1, _T2>&)' previously declared here
template<class T1, class T2> ostream& operator<<(ostream& os, const pair<T1,T2>& a) { os << '{' << a.f << ", " << a.s << '}'; return os; }
^~~~~~~~
cezar.cpp:125:28: error: redefinition of 'template<class T> std::ostream& operator<<(std::ostream&, const std::vector<_Tp>&)'
template<class T> ostream& operator<<(ostream& os, const vector<T>& a) {
^~~~~~~~
cezar.cpp:20:28: note: 'template<class T> std::ostream& operator<<(std::ostream&, const std::vector<_Tp>&)' previously declared here
template<class T> ostream& operator<<(ostream& os, const vector<T>& a) {
^~~~~~~~
cezar.cpp:136:11: error: redefinition of 'const int N'
const int N=26;
^
cezar.cpp:31:11: note: 'const int N' previously defined here
const int N=26;
^
cezar.cpp:137:28: error: redefinition of 'std::vector<std::vector<int> > graf'
vector<vector<int> > graf(N);
^
cezar.cpp:32:22: note: 'std::vector<std::vector<int> > graf' previously declared here
vector<vector<int> > graf(N);
^~~~
cezar.cpp: In function 'int main()':
cezar.cpp:138:5: error: redefinition of 'int main()'
int main()
^~~~
cezar.cpp:33:5: note: 'int main()' previously defined here
int main()
^~~~
cezar.cpp:151:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<min(niz[i].second.size(),niz[i-1].second.size());j++)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cezar.cpp: In function 'int main()':
cezar.cpp:36:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&n);
~~~~~^~~~~~~~~
cezar.cpp:41:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&niz[i].first);
~~~~~^~~~~~~~~~~~~~~~~~~~
cezar.cpp: In function 'int main()':
cezar.cpp:141:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&n);
~~~~~^~~~~~~~~
cezar.cpp:146:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&niz[i].first);
~~~~~^~~~~~~~~~~~~~~~~~~~