Borderou de evaluare (job #2441039)
Utilizator | Data | 19 iulie 2019 19:48:50 | |
---|---|---|---|
Problema | Regat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void solve(int, int)':
main.cpp:100:9: error: expected ';' before 'add'
add(in[p.f],out[p.f],2*p.s);
^~~
main.cpp: In function 'int main()':
main.cpp:105:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("regat.in","r",stdin);
^
main.cpp:106:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("regat.out","w",stdout);
^
main.cpp:108:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&n,&m);
^
main.cpp:112:79: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i",&a,&b,&c),a--,b--,graf[a].pb({b,c}),graf[b].pb({a,c});
^
main.cpp:114:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&a),a--,q[a].pb(i);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !