Borderou de evaluare (job #1195028)
Utilizator | Data | 5 iunie 2014 20:07:34 | |
---|---|---|---|
Problema | Minerale | 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:46:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k<M[i][w].size(); ++k) {
^
user.cpp:47:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int l=0; l<M[i+w+1][j-w-1].size();++l) {
^
user.cpp:51:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int t=0;t<M[i][j].size();++t) {
^
user.cpp:52:44: error: request for member ‘size’ in ‘v[t]’, which is of non-class type ‘std::vector<int> [26]’
for(int b=0;b<v[t].size();++b) {
^
user.cpp:53:45: error: ‘class std::vector<int>’ has no member named ‘first’
int k = v[t][b].first;
^
user.cpp:54:45: error: ‘class std::vector<int>’ has no member named ‘second’
int l = v[t][b].second;
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minerale.in","r",stdin);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&R,&Mm);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !