Problem laptop
User DuckyKayden
Submission Time 2026-01-28 16:42:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp: In function ‘int32_t main()’:
laptop.cpp:20:87: error: ‘i’ was not declared in this scope
20 | cout << "Pan will buy a laptop made by Papple that will cost him" << " " << p[i] << "."; return 0;
| ^
laptop.cpp:23:95: error: ‘i’ was not declared in this scope
23 | cout << "Pan will buy a laptop not made by Papple that will cost him" << " " << trash[i] << "."; return 0;
| ^