This web page requires JavaScript to be enabled.

JavaScript is an object-oriented computer programming language commonly used to create interactive effects within web browsers.

How to enable JavaScript?

Tìm số nguyên tố cuối cùng

10cth1-2 August 1, 2011 Nam Le 0

C1:
[codes=c]int sontcuoi=-1;
  for (int i=0;i    if ktnt(a[i])==1)
      sontcuoi=a[i];
  return sontcuoi;
[/codes]
C2:
[codes=c]for (int i=0;i  if ktnt(a[n-i])==1)
    return a[i];
  return -1;
[/codes]


Last modified on December 9th, 2020 at 1:25 am

Nam Le
lequocnam



0 responds

Leave a Reply

Your email address will not be published. Required fields are marked *