Posts

C++ || STL || standard template libraries

Image
                                       C++ STL  1.      Pair :  Syntax :      pair <int,char> p1;     it creates a pair {2,'c'} like this.           pair <int,int> p2;     it creates a pair {2,3} like this .  Basic Code :  #include <bits/stdc++.h> using namespace std; int main() {     // cout<<"hello world\n";     pair <int,int> p1 = {1,2};     cout<<p1.first<< " "<< p1.second<<endl;          pair <int, pair<int ,char>> p2 = {1,{2,'c'}};     cout<<p2.first<<" "<<p2.second.first<<" "<<p2.second.second<<endl;          pair <int,int> arr[] = {{2,3},{4,5},{6,7}};     cout...

Power of Millets || Happy And Healthy Life

Image
Foundation Day Meeting : By   D. Anjaneyulu Reddy : Power of millets: When food is right no medicine is needed. When food is wrong no medicine works 1. Cosmetologist : due to unbalanced diet, regularly going to cosmetologist 2. Harmonal imbalance : hair loss 3. 1 gm of sugar / 1 litre of blood : It is good for health. 4. Staple food : It is eaten regularly , large part of person's diet. 5. Don't eat icecream as it increase the sugar content in blood. Embrace meaning : include , hug

AI in Daily Life

Foundation Day Meeting  :  About AI : AI helps in 1. Climate change 2. Disaster management 3. Autonomous driving, computer vision, health care, finance How AI Language models to be developed : Ethical ai : 1. Fairness 2. Ethics ( moral principles ) 3. Moral system websites 4. Historical data matters most ( based on that large data , ai takes decision ). 5. AI - ML algorithms build and learn from data 6. Regression model (continuous thing). Compas : About Criminal Case Correctional Offender Management Profiling for Alternative Sanctions  ( COMPAS )   is a  case management  and  decision support tool  developed and owned by Northpointe (now Equivant) used by  U.S. courts  to assess the likelihood of a  defendant  becoming a  recidivist . Recidivist is the act of a person repeating an undesirable behavior after they have experienced negative consequences of that behavior, or have been trained to  extinguish  it. ...

c program to clear nth bit of the number || Bitwise Operators || Problem Solving ||

#include <stdio.h> int main() {     int num, n, newNum;     printf("Enter any number: ");     scanf("%d", &num);     printf("Enter nth bit to clear (0-31): ");     scanf("%d", &n);     newNum = num & (~(1 << n));     printf("Number before clearing %d bit: %d (in decimal)\n", n, num);     printf("Number after clearing %d bit: %d (in decimal)\n", n, newNum);     return 0; } Logic :-  num&(~(1<<n));

ai generated video of flying ship #ai #stablediffusion #midjourney #aimu...

Image

Python revision notes || Direct download link 💯💯💯✅✅✅🔥🔥🔥

  Python Revision Notes Direct Download Link :)  Click on below link  Download

Python Revision Notes Cheat Sheet 🔥🔥🔥✅✅✅💯💯💯

Python Revision Notes :- Refer the below notes 👇👇👇