| Problem | swayingflowers |
|---|---|
| User | Sirui |
| Submission Time | 2026-08-17 16:19:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
swayingflowers.cpp: In function ‘int main()’:
swayingflowers.cpp:3:2: error: ‘ios_base’ has not been declared
3 | ios_base::sync_with_stdio (false);
| ^~~~~~~~
swayingflowers.cpp:4:2: error: ‘cin’ was not declared in this scope
4 | cin.tie(NULL);
| ^~~
swayingflowers.cpp:4:10: error: ‘NULL’ was not declared in this scope
4 | cin.tie(NULL);
| ^~~~
swayingflowers.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’?
+++ |+#include <cstddef>
1 | int main (){
swayingflowers.cpp:13:2: error: ‘cout’ was not declared in this scope
13 | cout << total << "/n"
| ^~~~
swayingflowers.cpp:13:19: error: expected ‘}’ at end of input
13 | cout << total << "/n"
| ^~~~
swayingflowers.cpp:1:12: note: to match this ‘{’
1 | int main (){
| ^