Borderou de evaluare (job #1377640)
Utilizator | Data | 5 martie 2015 23:18:15 | |
---|---|---|---|
Problema | Alge | 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:70:35: error: no match for ‘operator[]’ (operand types are ‘mqueue [46656]’ and ‘mqueue’)
printf("%hu %hu %hu\n", qu[rec[i]].x, qu[rec[i]].y, qu[rec[i]].z);
^
user.cpp:70:49: error: no match for ‘operator[]’ (operand types are ‘mqueue [46656]’ and ‘mqueue’)
printf("%hu %hu %hu\n", qu[rec[i]].x, qu[rec[i]].y, qu[rec[i]].z);
^
user.cpp:70:63: error: no match for ‘operator[]’ (operand types are ‘mqueue [46656]’ and ‘mqueue’)
printf("%hu %hu %hu\n", qu[rec[i]].x, qu[rec[i]].y, qu[rec[i]].z);
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.in", "r", stdin);
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alge.out", "w", stdout);
^
user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu%hu", &n, &m);
^
user.cpp:29:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hu%hu%hu", &x, &y, &z);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !