andruhovski

prog-0303-2016

Sep 7th, 2016
6,031
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // prog-0303.cpp : Defines the entry point for the console application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include <iostream>
  6. #include "Stack.h"
  7.  
  8. template <typename T>
  9. T find_min_el(T *massiv, size_t size)
  10. {
  11.     T min_value = massiv[0];
  12.     for (size_t i = 1; i < size; i++)
  13.     {
  14.         if (min_value > massiv[i]) min_value = massiv[i];
  15.     }
  16.     return min_value;
  17. };
  18.  
  19. char* find_min_el(char* *massiv, size_t size)
  20. {
  21.     char* min_value = massiv[0];
  22.     for (size_t i = 1; i < size; i++)
  23.     {
  24.  
  25.         if (strcmp(min_value , massiv[i]) >0)
  26.             min_value = massiv[i];
  27.     }
  28.     return min_value;
  29. }
  30.  
  31. int _tmain(int argc, _TCHAR* argv[])
  32. {
  33.     int a[10] = { 1, 2, 3, 4, 5, 6, 7, 98, -5 },
  34.         b[5] = { 7, 4, 2, 3, 5 };
  35.  
  36.     double c[5] = { 7.1, 4.4, 2.9, -3.1, 5.9 };
  37.     char* d[3] = { "bbb", "azzzz", "zzzz" };
  38.    
  39.     int min;
  40.     double min_d;
  41.     char *str;
  42.     min = find_min_el<int>(a, 10);
  43.     std::cout << min << std::endl;
  44.     min = find_min_el<int>(b,5);
  45.     std::cout << min << std::endl;
  46.     min_d = find_min_el<double>(c, 5);
  47.     std::cout << min_d << std::endl;
  48.  
  49.     str = find_min_el(d, 3);
  50.     std::cout << str << std::endl;
  51.     return 0;
  52. }
Advertisement
Comments
  • Texlinor
    46 days
    # CSS 0.85 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
    4.  
    5. This made me $13,000 in 2 days.
    6.  
    7. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    8. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    9.  
    10. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
  • Fenwonor
    40 days
    # CSS 0.06 KB | 0 0
    1. We just shared HQ data on our channel: https://t.me/theprotocolone
Add Comment
Please, Sign In to add comment