Borderou de evaluare (job #2367696)
Utilizator | Data | 5 martie 2019 11:59:50 | |
---|---|---|---|
Problema | Troll | Status | done |
Runda | bv_11_12 | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:17: error: 'chrono' is not a namespace-name
using namespace chrono;
^~~~~~
main.cpp:15:23: error: expected namespace-name before ';' token
using namespace chrono;
^
main.cpp: In function 'void read()':
main.cpp:25:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
main.cpp:27:58: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &tp[i].x, &tp[i].y, &tp[i].z);
^
main.cpp: In function 'int main()':
main.cpp:55:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.in", "r", stdin);
^
main.cpp:56:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("troll.out", "w", stdout);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !