Borderou de evaluare (job #2423606)
Utilizator | Data | 21 mai 2019 18:46:01 | |
---|---|---|---|
Problema | Bombe | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:9:1: error: 'mt19937' does not name a type
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
^~~~~~~
main.cpp: In function 'int main()':
main.cpp:74:35: error: 'rng' was not declared in this scope
shuffle(v + 1, v + n + 1, rng);
^~~
main.cpp:67:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bombe.in", "r", stdin);
^
main.cpp:68:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bombe.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 !