English
Open in Telegram

Thread #include <bits/stdc++.h>

2 messages · –
𝑴
#include <bits/stdc++.h> using namespace std; int main() { int z,d,index; cin>>z; int a[z]; for(int i=1; i<=z; i++) { cin>>a[i]; } d=a[1]; index=1; for(int i=2; i<=z; i++) { if(d<a[i]) { d=a[i]; index=i; } } cout<<d<<endl; cout<<index; return 0; }
  1. C
    C++ vs Python
    Bu ekan
CC++ vs PythonC++ vs Python@cpp_vs_python · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

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