167 | 2021-02-03 21:11:57 | mraron | Zenehallgatás | cpp11 | Forditási hiba |
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
struct time {
};
int main() {
cin.sync_with_stdio(false);
cin.tie(nullptr);
vector<time> timeS;
}
exit status 1main.cpp: In function ‘int main()’:
main.cpp:15:13: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
15 | vector<time> timeS;
| ^
main.cpp:15:13: note: expected a type, got ‘time’
main.cpp:15:13: error: template argument 2 is invalid
Exited with error status 1