Problem | findingpavement |
---|---|
User | ToiletBrIcker |
Submission Time | 2024-06-18 13:39:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
findingpavement.cpp: In function ‘int main()’:
findingpavement.cpp:3:2: error: ‘string’ was not declared in this scope
3 | string ledizz;
| ^~~~~~
findingpavement.cpp:4:7: error: ‘cin’ is not a member of ‘std’
4 | std::cin >> a >> b;
| ^~~
findingpavement.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main(){
findingpavement.cpp:7:19: error: expected ‘;’ before ‘<’ token
7 | for (int i = 1, i < a,i ++){
| ^~
| ;
findingpavement.cpp:7:20: error: expected primary-expression before ‘<’ token
7 | for (int i = 1, i < a,i ++){
| ^
findingpavement.cpp:7:28: error: expected ‘;’ before ‘)’ token
7 | for (int i = 1, i < a,i ++){
| ^
|