#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int t,c,i,n; while(cin>>t) {...
Read More
Home / Archive for 2015
UVA-382 Perfection
#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int n,i,sum; printf("PERFECTI...
Read More
UVA-10394 Twin Prime
#include <bits/stdc++.h> using namespace std; #define n 20000005 long long int twin[n]; bool a[n]; void sieve() { long long int i,...
Read More
UVA-623 500!
import java.util.*; import java.math.BigInteger; public class Main { public static void main(String[] args) { // TODO code appli...
Read More
UVA-11417 GCD
#include <iostream> #include <bits/stdc++.h> using namespace std; int gcd(int a,int b) { int x,y,r; x=a; y=b; wh...
Read More
UVA- 374 (Big Mod) Recursive Modular Exponentiation
At first check it : Big Mod Tutorial in Bangla #include <iostream> #include <bits/stdc++.h> using namespace std; ...
Read More
UVA-900 Brick Wall Patterns
#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { long long int a[100],i,l,n; while(...
Read More
UVA-11192 Group Reverse
UVA-11192 (USING REVERSE FUNCTION OF C++ STL) #include <bits/stdc++.h> #include <iostream> using namespace std; int main() { ...
Read More
সাধারণ সি প্রোগ্রামিং করে বানিয়ে ফেলুন বার নির্ণায়ক সফটওয়্যার
ইনপুট হিসেবে যা নেয়া হবেঃ ১ . তারিখ ২ . মাস নম্বর ৩ . প্রথম দুই ডিজিট সালের ৪ . বাকি ডিজিট সালের আউটপুটঃ বার ...
Read More
TicTacToe Game Code (Java)
Create Two Java File In NetBeans. In First File Paste This Code For Creating Game Frame: Game Frame Code: import javax.swing.JFrame;...
Read More
UVA-575 Skew Binary
import static java.lang.Math.pow; import java.util.*; import java.math.*; public class Main { public static void main(String[] args)...
Read More
LightOj-1069 Lift
#include <stdio.h> int main() { int t,a,b,e,o,i,f,r,g,s,d; scanf("%d",&t); for(i=1;i<=t;i++) { ...
Read More
LightOj-1225 Pallindrome Numbers
#include <stdio.h> int main() { int t,i,sum,temp,n,j,r; scanf("%d",&t); for(i=1;i<=t;i++) { s...
Read More
Important Basic Programming Question And Solution
1. Write a program that shows the summation of positive integer in between...
Read More
Subscribe to:
Posts
(
Atom
)