Borderou de evaluare (job #2127280)
Utilizator | Data | 10 februarie 2018 15:20:38 | |
---|---|---|---|
Problema | CMMDC | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:5:2: error: stray ‘#’ in program
/#include<chrono>
^
user.cpp:5:1: error: expected unqualified-id before ‘/’ token
/#include<chrono>
^
user.cpp: In function ‘int main()’:
user.cpp:11:7: error: ‘cout’ was not declared in this scope
cout << i << " " << flush;
^
user.cpp:11:7: note: suggested alternative:
In file included from user.cpp:3:0:
/usr/include/c++/5/iostream:61:18: note: ‘std::cout’
extern ostream cout; /// Linked to standard output
^
user.cpp:11:27: error: ‘flush’ was not declared in this scope
cout << i << " " << flush;
^
user.cpp:11:27: note: suggested alternative:
In file included from /usr/include/c++/5/iostream:39:0,
from user.cpp:3:
/usr/include/c++/5/ostream:612:5: note: ‘std::flush’
flush(basic_ostream<_CharT, _Traits>& __os)
^
user.cpp:12:7: error: ‘this_thread’ has not been declared
this_thread::sleep_for(1500ms);
^
user.cpp:12:30: error: unable to find numeric literal operator ‘operator""ms’
this_thread::sleep_for(1500ms);
^
user.cpp:12:30: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !