Borderou de evaluare (job #1795329)
Utilizator | Data | 2 noiembrie 2016 11:07:14 | |
---|---|---|---|
Problema | Progr | Status | done |
Runda | Arhiva ICPC | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void gen_prog(int, int)’:
user.cpp:31:13: error: ‘sir’ was not declared in this scope
sir [*it].push_back( rat);
^
user.cpp: In function ‘void INIT(int)’:
user.cpp:43:9: error: ‘sir’ was not declared in this scope
sir[i].clear();
^
user.cpp: In function ‘int main()’:
user.cpp:82:26: error: ‘sir’ was not declared in this scope
for(it = sir[i].begin() ; it != sir[i].end() ; it++ ){
^
user.cpp:58:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progr.in","r",stdin);
^
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("progr.out","w",stdout);
^
user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:65:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:70:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i] );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !