Borderou de evaluare (job #1231416)
Utilizator | Data | 20 septembrie 2014 15:23:32 | |
---|---|---|---|
Problema | Zmeu2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:40:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<S.size();i++)
^
user.cpp:17:40: error: ‘typeof’ was not declared in this scope
#define forA(V) for (typeof((V).begin()) it=(V).begin();it!=(V).end();it++)
^
user.cpp:42:9: note: in expansion of macro ‘forA’
forA(G[S[i]])
^
user.cpp:17:42: error: expected ‘;’ before ‘it’
#define forA(V) for (typeof((V).begin()) it=(V).begin();it!=(V).end();it++)
^
user.cpp:42:9: note: in expansion of macro ‘forA’
forA(G[S[i]])
^
user.cpp:17:57: error: ‘it’ was not declared in this scope
#define forA(V) for (typeof((V).begin()) it=(V).begin();it!=(V).end();it++)
^
user.cpp:42:9: note: in expansion of macro ‘forA’
forA(G[S[i]])
^
user.cpp: In function ‘int main()’:
user.cpp:17:40: error: ‘typeof’ was not declared in this scope
#define forA(V) for (typeof((V).begin()) it=(V).begin();it!=(V).end();it++)
^
user.cpp:67:9: note: in expansion of macro ‘forA’
forA(G[x])
^
user.cpp:17:42: error: expected ‘;’ before ‘it’
#define forA(V) for (typeof((V).begin()) it=(V).begin();it!=(V).end();it++)
^
user.cpp:67:9: note: in expansion of macro ‘forA’
forA(G[x])
^
user.cpp:17:57: error: ‘it’ was not declared in this scope
#define forA(V) for (typeof((V).begin()) it=(V).begin();it!=(V).end();it++)
^
user.cpp:67:9: note: in expansion of macro ‘forA’
forA(G[x])
^
user.cpp:55:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:56:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
user.cpp:57:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&N,&P,&K);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !