Advertisement
Zeinab_Hamdy

Template

Apr 25th, 2023 (edited)
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.84 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. #define nl "\n"
  4. #define fi first
  5. #define se second
  6. #define pb push_back
  7. #define ll long long
  8. #define ull unsigned ll
  9. #define RV  return void
  10. #define vi vector < int >
  11. #define vll vector < ll >
  12. #define MOD ((ll) 1e9 + 7)
  13. #define sz(x) int(x.size())
  14. #define vs vector < string >
  15. #define pll pair < ll , ll >
  16. #define pii pair < int , int >
  17. #define all(v) v.begin(), v.end()
  18. #define rall(v) v.rbegin(), v.rend()
  19. #define Mini(x) *min_element(all(x))
  20. #define Maxi(x) *max_element(all(x))
  21. #define cin(v) for (auto&i:v) cin >> i;
  22. #define fixed(n) fixed << setprecision(n)
  23. #define cout(v) for (auto&i:v) cout << i << " ";
  24. #define ceil(w, m) (((w) / (m)) + ((w) % (m) ? 1 : 0))
  25. #define FastCode ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
  26. void ternary( bool flag , string  yes , string no){
  27.     cout << (flag ? yes : no) << nl;
  28. }
  29.  
  30. void  Zainab(){
  31.             #ifndef ONLINE_JUDGE
  32.               freopen("input.txt", "r", stdin);  
  33.               freopen("output.txt", "w", stdout);
  34.             #endif
  35. }
  36.  
  37. /*=================================================================================== */
  38. /*=================================================================================== */
  39. /*================================  Prblem solution  ================================ */
  40. /*=================================================================================== */
  41. /*=================================================================================== */
  42.  
  43. void myCode(){
  44.  
  45.  
  46. }
  47.  
  48. int main(){
  49.                                    FastCode ;
  50.                                    Zainab();
  51.                                              
  52.  
  53.  
  54.     int testCase = 1;
  55.         // cin >> testCase ;
  56.     for(int i=1 ; i <= testCase ; i++){
  57.         myCode();
  58.     }
  59.        
  60.     return 0;
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement