Advertisement
Guest User

bot.cpp

a guest
Jul 16th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. #include <iostream>
  2. #include <sys/socket.h>
  3. #include <string>
  4. using namespace std;
  5. string repeat(int count, string word) {
  6.     int repeated = 1;
  7.     while (repeated < count) {
  8.         word = word + word;
  9.         repeated++;
  10.     }
  11.     return word;
  12. }
  13. int Lenght(int ar) {
  14.     return sizeof(ar);
  15. }
  16. class VkApi {
  17.     int i() {
  18.        
  19.     return 1;
  20.     }
  21. };
  22. int main() {
  23.     int arr[] = {1,2,3,4,5};
  24.     cout << Lenght(arr) << endl;
  25.     return 1;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement