Borderou de evaluare (job #1486802)
Utilizator | Data | 15 septembrie 2015 17:03:17 | |
---|---|---|---|
Problema | Sortnet | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:8: error: ‘whle’ was not declared in this scope
whle(t) {
^
user.cpp:28:10: error: expected ‘;’ before ‘{’ token
whle(t) {
^
user.cpp:21:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sortnet.in","r",stdin),freopen("sortnet.out","w",stdout);
^
user.cpp:21:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:25:66: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" <%d ,%d >",&l,&h),--l,--h,a[i][l].m=h,a[i][h].m=l;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !