//Nguyen Duc Anh
//1121
#include<iostream>
#include<fstream>
#include<string.h>
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#include<map>
#define fi "1121.inp"
#define fo "1121.out"
using namespace std;
long n;
long s[100005];
long goc;
int tong[100005];
void input()
{
long i ...
Search found 3 matches
- Sat Jan 25, 2014 5:24 pm
- Forum: Volume 11 (1100-1199)
- Topic: 1121 - Subsequence
- Replies: 5
- Views: 5412
- Sat Sep 14, 2013 10:23 am
- Forum: Volume 116 (11600-11699)
- Topic: 11624 - Fire!
- Replies: 54
- Views: 24631
Re: 11624 - Fire!
i know it, i alway delete it when i submit,its not problem
- Fri Sep 13, 2013 11:40 am
- Forum: Volume 116 (11600-11699)
- Topic: 11624 - Fire!
- Replies: 54
- Views: 24631
Re: 11624 - Fire!
#include<iostream>
#include<fstream>
#include<string.h>
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
#define fi "fire.inp"
#define fo "fire.out"
using namespace std;
struct toado
{
int h;
int c;
};
toado huong[5]={ -1,0
,0,1
,1,0
,0,-1 };
toado q[1000009];
int nhang,ncot;
int ...