Problem swayingflowers
User godex
Submission Time 2025-02-03 17:45:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swayingflowers.cpp: In function ‘int32_t main()’:
swayingflowers.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
swayingflowers.cpp:6:2: note: in expansion of macro ‘int’
6 | int total = 0;
| ^~~
swayingflowers.cpp:6:6: error: ‘total’ was not declared in this scope
6 | int total = 0;
| ^~~~~
swayingflowers.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
swayingflowers.cpp:7:2: note: in expansion of macro ‘int’
7 | int flowers, seconds; cin >> flowers >> seconds;
| ^~~
swayingflowers.cpp:7:6: error: ‘flowers’ was not declared in this scope
7 | int flowers, seconds; cin >> flowers >> seconds;
| ^~~~~~~
swayingflowers.cpp:7:15: error: ‘seconds’ was not declared in this scope; did you mean ‘u