Borderou de evaluare (job #1775547)
Utilizator | Data | 10 octombrie 2016 15:55:54 | |
---|---|---|---|
Problema | Transport | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int cbin()’:
user.cpp:18:7: error: ‘maxx’ was not declared in this scope
i=maxx;j=256000000;
^
user.cpp: In function ‘int main()’:
user.cpp:37:12: error: ‘fin’ was not declared in this scope
fscanf(fin,"%d%d",&n,&k);
^
user.cpp:41:17: error: ‘maxx’ was not declared in this scope
if(v[i]>maxx)
^
user.cpp: At global scope:
user.cpp:46:5: error: expected unqualified-id before ‘return’
return 0;
^
user.cpp: In function ‘int main()’:
user.cpp:34:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r", stdin);
^
user.cpp:35:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.out","w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !