Problem performance
User Kiameimon
Submission Time 2023-09-09 23:04:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

performance.cpp: In function ‘int main()’:
performance.cpp:5:2: error: ‘ios’ has not been declared
5 | ios::sync_with_stdio(false);
| ^~~
performance.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin.tie(0);
| ^~~
performance.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #define ll long long
performance.cpp:22:38: error: ‘cout’ was not declared in this scope
22 | for(int i = sum; i < peeps+1; i++){cout << i;}
| ^~~~
performance.cpp:22:38: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
performance.cpp:23:32: error: ‘cout’ was not declared in this scope
23 | for(int i = 1; i < sum; i++){cout << i;}
| ^~~~
performance.cpp:23:32: not