Problem swayingflowers
User Slayer555
Submission Time 2023-12-09 15:56:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swayingflowers.cpp: In function ‘int main()’:
swayingflowers.cpp:10:26: error: ‘N’ was not declared in this scope
10 | for (int i = 1; i <= N; ++i) {
| ^
swayingflowers.cpp:12:33: error: ‘T’ was not declared in this scope
12 | int swaysForIthFlower = T / i;
| ^
swayingflowers.cpp:18:58: error: ‘T’ was not declared in this scope
18 | std::cout << "Total sways for all flowers after " << T << " seconds: " << totalSways << std::endl;
| ^