Borderou de evaluare (job #1224875)
Utilizator | Data | 31 august 2014 20:19:09 | |
---|---|---|---|
Problema | Inter | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:21:2: warning: "/*" within comment [-Wcomment]
/* for(i=1;i<=m;i++)
^
user.cpp: In function ‘int main()’:
user.cpp:67:9: error: redeclaration of ‘int i’
int i, j, k;
^
user.cpp:62:9: error: ‘int i’ previously declared here
int i, a, b;
^
user.cpp:75:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(k = 0; k < G[j].size(); k++)
^
user.cpp:59:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inter.in", "r", stdin);
^
user.cpp:60:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inter.out", "w", stdout);
^
user.cpp:64:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:66:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b), G[a].pb(b), deg[b]++;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !