Problem dayum
User Haritha
Submission Time 2025-06-20 13:14:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dayum.cpp: In function ‘int main()’:
dayum.cpp:5:5: error: ‘cin’ was not declared in this scope
5 | cin >> n;
| ^~~
dayum.cpp:11:9: error: ‘cout’ was not declared in this scope
11 | cout << n - 15 << endl;
| ^~~~
dayum.cpp:11:27: error: ‘endl’ was not declared in this scope
11 | cout << n - 15 << endl;
| ^~~~
dayum.cpp:17:9: error: ‘cout’ was not declared in this scope
17 | cout << "EKET" << endl;
| ^~~~
dayum.cpp:17:27: error: ‘endl’ was not declared in this scope
17 | cout << "EKET" << endl;
| ^~~~
dayum.cpp:23:9: error: ‘cerr’ was not declared in this scope
23 | cerr << "Error: Invalid input. N must be between 1 and 30." << endl;
| ^~~~
dayum.cpp:23:72: error: ‘endl’ was not declared in