| Problem | helloworld |
|---|---|
| User | gOrDoN |
| Submission Time | 2026-03-11 17:31:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
helloworld.cpp: In function ‘int main()’:
helloworld.cpp:16:2: error: ‘f’ was not declared in this scope
16 | f = e*x*(y/z);
| ^
helloworld.cpp:19:9: error: no match for ‘operator&&’ (operand types are ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
19 | p = q and r
| ~ ^~~ ~
| | |
| | basic_string<[...]>
| basic_string<[...]>
helloworld.cpp:19:9: note: candidate: ‘operator&&(bool, bool)’ <built-in>
19 | p = q and r
| ~~^~~~~
helloworld.cpp:19:9: note: no known conversion for argument 2 from ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to ‘bool’
In file included from /usr/include/c++/9/valarray:603,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from helloworld.cpp:1:
/usr/include/c++/9/bit