/in/foo.cc: In function 'int main()':
/in/foo.cc:24:9: error: 'ios' has not been declared
24 | std:ios::sync_with_stdio(false);
| ^~~
/in/foo.cc:25:5: error: 'cin' was not declared in this scope
25 | cin>>n;
| ^~~
/in/foo.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
+++ |+#include <iostream>
1 | #define int long long
/in/foo.cc:27:5: error: 'cout' was not declared in this scope
27 | cout<<sum<<endl;
| ^~~~
/in/foo.cc:27:5: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
/in/foo.cc:27:16: error: 'endl' was not declared in this scope
27 | cout<<sum<<endl;
| ^~~~
/in/foo.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; did you forget to '#include <ostream>'?
+++ |+#include <ostream>
1 | #define int long long
/in/foo.cc:28:14: error: expected '}' at end of input
28 | return 0;
| ^
/in/foo.cc:22:1: note: to match this '{'
22 | {
| ^
/in/foo.cc:24:5: warning: label 'std' defined but not used [-Wunused-label]
24 | std:ios::sync_with_stdio(false);
| ^~~