fork download
  1. #include<bits/stdc++.h>
  2. #include <ext/pb_ds/assoc_container.hpp>
  3. using namespace __gnu_pbds;
  4. using namespace std;
  5.  
  6. #define ff first
  7. #define ss second
  8. #define int long long
  9. #define pb push_back
  10. #define mp make_pair
  11. #define pii pair<int,int>
  12. #define vi vector<int>
  13. #define mii map<int,int>
  14. #define pqb priority_queue<int>
  15. #define pqs priority_queue<int,vi,greater<int> >
  16. #define setbits(x) __builtin_popcountll(x)
  17. #define zrobits(x) __builtin_ctzll(x)
  18. #define mod 1000000007
  19. #define inf 1e18
  20. #define ps(x,y) fixed<<setprecision(y)<<x
  21. #define mk(arr,n,type) type *arr=new type[n];
  22. #define w(x) int x; cin>>x; while(x--)
  23. mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
  24.  
  25. typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> pbds;
  26.  
  27.  
  28. void c_p_c()
  29. {
  30. ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
  31. #ifndef ONLINE_JUDGE
  32. freopen("input.txt", "r", stdin);
  33. freopen("output.txt", "w", stdout);
  34. #endif
  35. }
  36.  
  37.  
  38. int32_t main()
  39. {
  40. c_p_c();
  41. mk(arr,10,int)
  42. memset(arr,-1,sizeof(arr));
  43. for(int i=0;i<10;i++)
  44. {
  45. cout<<arr[i];
  46. }
  47. return 0;
  48. }
Success #stdin #stdout 0s 4508KB
stdin
Standard input is empty
stdout
-1000000000