| Problem | bacteria |
|---|---|
| User | popperoni |
| Submission Time | 2026-08-21 13:30:34 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bacteria.cpp: In function ‘long long int input()’:
bacteria.cpp:45:26: error: ‘_getchar_nolock’ was not declared in this scope; did you mean ‘getchar_unlocked’?
45 | #define getchar_unlocked _getchar_nolock // comment before submission
| ^~~~~~~~~~~~~~~
bacteria.cpp:57:22: note: in expansion of macro ‘getchar_unlocked’
57 | int x=0; char ch=getchar_unlocked(); bool s=1;
| ^~~~~~~~~~~~~~~~
bacteria.cpp: In function ‘int32_t main()’:
bacteria.cpp:103:42: error: expected ‘;’ before ‘auto’
103 | ll l,r,k;l=input();r=input();k=input()
| ^
| ;
104 | auto cur=active.lower_bound(l);
| ~~~~
bacteria.cpp:106:10: error: ‘cur’ was not declared in this scope
106 | while(cur != active.end() and *cur <= r){
| ^~~