:oops:
i have checked my code times after times( quite certain that my logic should be right ),still have no idea why it failed to be accepted,hope you guys help me out.
#include<stdio.h>
#include<string.h>
//#define ONLINE_JUDGE
char hand[7][4];
char deck[7][4];
char temp[7][4];
char s[6];
int ...
Search found 2 matches
- Thu Sep 09, 2010 5:46 am
- Forum: Volume 1 (100-199)
- Topic: 131 - The Psychic Poker Player
- Replies: 34
- Views: 10198
- Mon Jun 07, 2010 6:12 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110415
101 get a TLE, seeking help
dear all:
here is my code. i still have no idea why i got TLE error,do i really need to change my data structures for speed's sake
#include <vector>
#include <utility>
#ifndef ONLINE_JUDGE
#include <fstream>
std::ifstream cin("data.in");
std::ofstream cout("data.in.out")
#else
#include <iostream ...
here is my code. i still have no idea why i got TLE error,do i really need to change my data structures for speed's sake
#include <vector>
#include <utility>
#ifndef ONLINE_JUDGE
#include <fstream>
std::ifstream cin("data.in");
std::ofstream cout("data.in.out")
#else
#include <iostream ...