Borderou de evaluare (job #1472578)
Utilizator | Data | 17 august 2015 13:08:45 | |
---|---|---|---|
Problema | 2SAT | Status | done |
Runda | Arhiva educationala | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘main’:
user.c:41:14: error: ‘new’ undeclared (first use in this function)
f[i]=new int[u[i]],g[i]=new int[v[i]],u[i]=v[i]=0,p[i]=2;
^
user.c:41:14: note: each undeclared identifier is reported only once for each function it appears in
user.c:41:18: error: expected ‘;’ before ‘int’
f[i]=new int[u[i]],g[i]=new int[v[i]],u[i]=v[i]=0,p[i]=2;
^
user.c:24:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sat.in","r",stdin),freopen("2sat.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:24:38: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sat.in","r",stdin),freopen("2sat.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:24:67: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sat.in","r",stdin),freopen("2sat.out","w",stdout),scanf("%d%d",&n,&m);
^
user.c:26:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a[i],&b[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !