K
Khách

Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.

19 tháng 2 2022

#include <bits/stdc++.h>

using namespace std;

long long x,n,i,ln;

int main()

{

freopen("songuyen.int","r",stdin);

freopen("songuyen.out","w",stdout);

cin>>n;

ln=LLONG_MIN;

for (i=1; i<=n; i++)

{

cin>>x;

ln=max(ln,x);

}

cout<<ln;

return 0;

}

19 tháng 2 2022

Câu này dùng passcal thì viết như nào ạ

19 tháng 2 2022

const fi='songuyen.int';

fo='songuyen.out';

var f1,f2:text;

x,n,i,ln:integer;

begin

assign(f1,fi); reset(f1);

assign(f2,fo); rewrite(f2);

readln(n);

ln:=-3200;

for i:=1 to n do 

begin

readln(x);

if ln<x then ln:=x;

end;

writeln(f2,ln);

close(f1);

close(f2);

end.

27 tháng 8 2017

phynit thầy giúp e với haha

25 tháng 12 2017

program bai1;

var

begin

write('Ten cua ban la ');readln(ten);

write('Nam hien tai la ');readln(nht);

write('Nhap nam sinh ');readln(ns);

write('Ban hoc lop ');readln(lop);

tuoi:=nht-ns;

writeln('Ten cua ban la ',tuoi);

readln

end.

à nó có updates kìa, bạn updates đi

bạn thử vào microsoft store xem

1 tháng 10 2025

❤❤