Borderou de evaluare (job #2081788)
Utilizator | Data | 5 decembrie 2017 10:09:53 | |
---|---|---|---|
Problema | Pseudobil | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void rotire()’:
user.cpp:12:9: warning: unused variable ‘l’ [-Wunused-variable]
int l = n;
^
user.cpp: In function ‘int main()’:
user.cpp:64:9: error: expected primary-expression before ‘}’ token
}
^
user.cpp:64:9: error: expected ‘,’ or ‘;’ before ‘}’ token
user.cpp:63:17: warning: unused variable ‘su’ [-Wunused-variable]
int su =
^
user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pseudobil.in", "r", stdin);
^
user.cpp:38:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pseudobil.out", "w", stdout);
^
user.cpp:39:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d %d %d", &p, &n, &k, &d);
^
user.cpp:48:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:62:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !