Skip to content

Instantly share code, notes, and snippets.

View w181496's full-sized avatar
:shipit:✌✌✌✌✌✌✌✌✌✌✌✌
🏴 403 Forbidden

Kaibro w181496

:shipit:✌✌✌✌✌✌✌✌✌✌✌✌
🏴 403 Forbidden
View GitHub Profile
#include <string>
#include <cstdio>
#include <iostream>
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
string s;
int n;
cin>>n;
#include <iostream>
#include <string>
#include <cstring>
#include <sstream>
using namespace std;
int arr[40];
int dp[40][5000];
int main()
{
ios_base::sync_with_stdio(0);
#include <iostream>
using namespace std;
char mx[200][200];
int main()
{
ios_base::sync_with_stdio(0);
int n, m, t = 1;
while(cin >> n >> m && n != 0 && m != 0) {
for(int i = 0; i < n; ++i)
for(int j = 0; j < m; ++j)
#include <iostream>
#include <string>
#include <cstring>
using namespace std;
typedef long long LL;
LL dp[200][200];
string s;
LL f(LL i, LL j)
{
if(i > j || i < 0 || j >= s.size()) return 0;
package ce1002.a1.s102502042;
import java.util.Scanner;
public class A1 {
public static void main(String[] args) {
Scanner input = new Scanner(System.in); //create a scanner
System.out.print("Please input a number (5~30): ");
int number = input.nextInt();