Problem | lunchbox |
---|---|
User | yuxiangt |
Submission Time | 2025-07-27 00:02:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lunchbox.cpp: In function ‘int main()’:
lunchbox.cpp:9:7: error: ‘sync_with_studio’ is not a member of ‘std::ios’ {aka ‘std::basic_ios<char>’}
9 | ios::sync_with_studio(0);
| ^~~~~~~~~~~~~~~~
lunchbox.cpp:15:9: error: expected primary-expression before ‘<’ token
15 | vector <int> requirement (m);
| ^
lunchbox.cpp:15:10: error: expected primary-expression before ‘int’
15 | vector <int> requirement (m);
| ^~~
lunchbox.cpp:17:8: error: ‘requirement’ was not declared in this scope
17 | cin>>requirement[i];
| ^~~~~~~~~~~
lunchbox.cpp:20:7: error: ‘requirement’ was not declared in this scope
20 | sort(requirement.begin, requirement.end);
| ^~~~~~~~~~~