Problem | flybot |
---|---|
User | oiu890 |
Submission Time | 2024-02-09 14:58:54 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
flybot.cpp: In function ‘int main()’:
flybot.cpp:3:5: error: ‘cin’ was not declared in this scope
3 | cin>>h>>w;
| ^~~
flybot.cpp:7:5: error: ‘memset’ was not declared in this scope
7 | memset(pcount,0,sizeof(pcount));
| ^~~~~~
flybot.cpp:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
+++ |+#include <cstring>
1 | int main() {
flybot.cpp:8:11: error: ‘i’ was not declared in this scope
8 | floop(i,0,h){
| ^
flybot.cpp:8:5: error: ‘floop’ was not declared in this scope
8 | floop(i,0,h){
| ^~~~~
flybot.cpp:32:5: error: ‘cout’ was not declared in this scope; did you mean ‘pcount’?
32 | cout<<pcount[h-1][w-1];
| ^~~~
| pcount