Problem swayingflowers
User panzhengye
Submission Time 2026-08-10 11:54:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swayingflowers.cpp:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude <iostream>
| ^~~~~~~
| include
swayingflowers.cpp: In function ‘int main()’:
swayingflowers.cpp:6:5: error: ‘ios_base’ has not been declared
6 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
swayingflowers.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin.tie(NULL);
| ^~~
swayingflowers.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlcude <iostream>
swayingflowers.cpp:7:13: error: ‘NULL’ was not declared in this scope
7 | cin.tie(NULL);
| ^~~~
swayingflowers.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | #inlcude