English
Open in Telegram
CC++ vs Python
C++ vs Python
@cpp_vs_python · group · Tech · indexed since 2026-08-18 5 July 2021
114members
39 409messages in the index

Messages on 5 July 2021

2021-07-05×
5 July 2021
C
C++ vs Python
/cpp_gcc@rextester_bot
    1. C
      C++ vs Python
      #include <iostream> using namespace std; int main (){ int a, b; int n=12; a=n%10; b=n/10; cout<<a<<b<<endl; return 0; }
      1. D
        Errors: 542563486/source.cpp: In function ‘int main()’: 542563486/source.cpp:8:7: error: ‘ab’ was not declared in this scope cout<<ab<<endl; ^~ 542563486/source.cpp:8:7: note: suggested alternative: ‘b’ cout<<ab<<endl; ^~ b Tip: Mistake? Edit your message, I'll adjust my response.
Whole thread · 5 replies →
    1. J
      #include <iostream> using namespace std; int main (){ int n, a, b; cin>>n; a=n%10; b=n/10; cout<<a<<" " <<b<<endl; return 0; }
Whole thread · 3 replies →
C
C++ vs Python
Boʻsh joy kerak emas kiritilgan sonni joyini almashtirishi kerak boʻldi
C
C++ vs Python
Agar son n xonali boʻlsa uni sikl qilish kerakmi
    1. C
      C++ vs Python
      5 xonali songa qilingchi
    2. C
      C++ vs Python
      👆👆👆
Whole thread · 3 replies →
Whole thread · 3 replies →
C
C++ vs Python
/stdin
  1. C
    C++ vs Python
    Bu nima qiladi
Whole thread · 1 reply →
C
C++ vs Python
Buni yozmasa faqat 0 chiqaradimi
C
C++ vs Python
Kompilyatorni oʻzi tanlaydimi
C
C++ vs Python
Photo
click to show
  1. C
    C++ vs Python
    Buni koʻringchi nima deganiga tushunmadim
Whole thread · 1 reply →
C
C++ vs Python
/cpp_gcc@rextester_bot
    1. C
      C++ vs Python
      #include <iostream> #include <cmath> using namespace std; int main (){ int a, b, c; cin>>a>>b>>c; if(pow(a,2)+pow(b,2)=pow(c,2)) cout<<true; else cout<<"x"<<endl; return 0; } /stdin
      1. D
        Errors: 1279888269/source.cpp: In function ‘int main()’: 1279888269/source.cpp:6:14: error: lvalue required as left operand of assignment if(a*a+b*b=c*c) ^ 1279888269/source.cpp:9:6: warning: statement has no effect [-Wunused-value] false; ^ 1279888269/source.cpp: At global scope: 1279888269/source.cpp:12:1: error: expected unqualified-id before ‘/’ token /stdin ^ Tip: Mistake? Edit your message, I'll adjust my response.
      2. D
        Errors: 1447615179/source.cpp: In function ‘int main()’: 1447615179/source.cpp:7:29: error: lvalue required as left operand of assignment if(pow(a,2)+pow(b,2)=pow(c,2)) ^ 1447615179/source.cpp: At global scope: 1447615179/source.cpp:13:1: error: expected unqualified-id before ‘/’ token /stdin ^ Tip: Mistake? Edit your message, I'll adjust my response.
Whole thread · 4 replies →
C
C++ vs Python
/cpp_gcc@rextester_bot
    1. C
      C++ vs Python
      #include <iostream> #include <cmath> using namespace std; int main (){ int a, b, c; cin>>a>>b>>c; if(pow(a,2)+pow(b,2)=pow(c,2)) cout<<true; else cout<<"x"<<endl; return 0; } /stdin
      1. D
        Errors: 1100692299/source.cpp: In function ‘int main()’: 1100692299/source.cpp:7:29: error: lvalue required as left operand of assignment if(pow(a,2)+pow(b,2)=pow(c,2)) ^ 1100692299/source.cpp: At global scope: 1100692299/source.cpp:13:1: error: expected unqualified-id before ‘/’ token /stdin ^ Tip: Mistake? Edit your message, I'll adjust my response.
      2. C
        C++ vs Python
        Endi nimaga xato dedi
Whole thread · 4 replies →
C
C++ vs Python
#include <iostream> #include <cmath> using namespace std; int main (){ int a, b, c, q, w, e; cin>>a>>b>>c; q=pow(a,2); w=pow(b,2); e=pow(c,2); if(q+w==e) cout<<true; else cout<<"x"<<endl; return 0; }
  1. C
    C++ vs Python
    Javohir buni koʻringchi
Whole thread · 1 reply →
    1. J
      #include <iostream> using namespace std; void f(int n){ if (n>0){ cout<<n%10; f(n/10); } } int main(){ int n; cout<<"Sonni kiriting\n"; cin>>n; f(n); return 0; }
        1. C
          C++ vs Python
          Boshqa yubordim sizha
Whole thread · 5 replies →
C
C++ vs Python
Buni mavzu boʻyicha ishlang degan siklsiz forsiz
C
C++ vs Python
Kiritish mavzu
J
#include <iostream> #include <cmath> using namespace std; int main (){ int a, b, c, q, w, e; cin>>a>>b>>c; q=pow(a,2); w=pow(b,2); e=pow(c,2); if(q+w==e) cout<<true; else cout<<"x"<<endl; return 0; }
  1. C
    C++ vs Python
    Uchburchak boʻladimi yoʻqmi shu
Whole thread · 1 reply →
C
C++ vs Python
Pifagorni qoʻlgʻash kerak
J
#include <iostream> #include <cmath> using namespace std; int main (){ int a, b, c, q, w, e; cin>>a>>b>>c; q=pow(a,2); w=pow(b,2); e=pow(c,2); if(q+w==e) cout<<true; else cout<<false; return 0; }
C
C++ vs Python
A'2+b'2=c'2
  1. C
    C++ vs Python
    Shuni bajarsa uchburchak boʻladi
Whole thread · 1 reply →
J
#include <iostream> #include <cmath> using namespace std; int main (){ int a, b, c; cin>>a>>b>>c; if( a+b>c && a+c>b && b+c>a) cout<<true; else cout<<false; return 0; }
А
int gcd(int a,int b){ while (b) b^=a^=b^=a%=b;; return a; } int main(){ int a,b; std::cin >> a >> b; std::cout << gcd(a,b); return 0; } salom Шуни с# на угирип berolasizmi uzur tosatdan yozdim agar iloji bolsa vaqtiz bolsa
C
C++ vs Python
Photo
click to show
C
C++ vs Python
Bu qanday boʻladi
C
C++ vs Python
Ruscha bilsangiz ruscha yuboraymi
C
C++ vs Python
Vaqtiz boʻlganda koʻrib bering
C
C++ vs Python
Photo
click to show
C
C++ vs Python
Qanaqa id
А
#include <iostream> using namespace std; int main(int a,int b) { while (b) b^=a^=b^=a%=b;; return a; } int main() { int a,b; cin >> a >> b; cout << gcd(a,b); return 0; }
А
Даны два натуральных числа. Найти наименьшее общее кратное этих чисел, используя функцию реализующую алгоритм Евклида.
J
int gcd(int a,int b){ while (b) b^=a^=b^=a%=b;; return a; } int main(){ int a,b; std::cin >> a >> b; std::cout << gcd(a,b); return 0; } salom Шуни с# на угирип berolasizmi uzur tosatdan yozdim agar iloji bolsa vaqtiz bolsa
Whole thread · 1 reply →
C
C++ vs Python
Tepadagi sayt bilan kirasiz
C
C++ vs Python
Yaxshimisiz bitta iltimos bor edi
C
C++ vs Python
Photo
click to show
Shuni 4 ni srochni ishlash kerak 10 gacha kim biladi
C
C++ vs Python
22 30 gacha ulgursam boʻldi

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count