Borderou de evaluare (job #1527736)
Utilizator | Ghita Alexandru Alexghita96 | Data | 18 noiembrie 2015 17:54:41 |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void query(int, int, int)’:
user.cpp:43:13: error: ‘mij’ was not declared in this scope
if (b > mij) {
^
user.cpp: In function ‘void read()’:
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:51:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &b);
^
user.cpp: In function ‘void solve()’:
user.cpp:60:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &operationType, &a, &b);
^
user.cpp: In function ‘int main()’:
user.cpp:73:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in", "r", stdin);
^
user.cpp:74:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !