Borderou de evaluare (job #1451612)
Utilizator | Data | 17 iunie 2015 20:55:59 | |
---|---|---|---|
Problema | Fibsmen | Status | done |
Runda | Arhiva Monthly | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:81:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘std::vector<int>*’ [-Wformat=]
scanf("%d", &T);
^
user.cpp:85:10: error: no ‘operator--(int)’ declared for postfix ‘--’ [-fpermissive]
while (T--) {
^
user.cpp:78:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fibsmen.in", "r", stdin);
^
user.cpp:79:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fibsmen.out", "w", stdout);
^
user.cpp:81:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:86:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &N);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !