| Problem | potatosalad |
|---|---|
| User | FullName |
| Submission Time | 2026-05-24 20:26:08 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
potatosalad.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
1 | #include bits/stdc++.h
| ^~~~
potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:6:5: error: ‘cin’ was not declared in this scope
6 | cin >> N >> D;
| ^~~
potatosalad.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #include bits/stdc++.h
potatosalad.cpp:7:5: error: ‘vector’ was not declared in this scope
7 | vector<int> potatoes(N);
| ^~~~~~
potatosalad.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #include bits/stdc++.h
potatosalad.cpp:7:12: error: expected primary-expression before ‘int’
7 | vector<int> potatoes(N);
| ^~~
potat