Problem | swayingflowers |
---|---|
User | haydendoo |
Submission Time | 2023-01-18 16:37:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swayingflowers.cpp: In function ‘int main()’:
swayingflowers.cpp:9:9: error: expected initializer before ‘n’
9 | int n,t,ans=0;
| ^
swayingflowers.cpp:10:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
10 | cin>>n>>t;
| ^
| yn
swayingflowers.cpp:10:13: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
10 | cin>>n>>t;
| ^
| tm
swayingflowers.cpp:11:13: error: expected ‘;’ before ‘x’
11 | for(int x=1;x<=t;x++){
| ^
swayingflowers.cpp:11:13: error: ‘x’ was not declared in this scope
swayingflowers.cpp:11:21: error: expected ‘)’ before ‘;’ token
11 | for(int x=1;x<=t;x++){
| ~ ^
| )
swayingflowers.cpp:11:22: error: ‘x’ was not declared in this scope
11 | for(int x=1;x<=t;x++){