Search found 1 match

by camelwombat
Wed Oct 13, 2010 7:41 pm
Forum: Volume 1 (100-199)
Topic: 127 - "Accordian" Patience
Replies: 83
Views: 21724

Re: #127, if you get AC, please try this input

TLE??????????WHO CAN SAVE ME ????????
save me!!!!!!!!!!!!!!!111


#include<cstdio>
#include<stack>
#include<string>
using namespace std;
int main()
{
int i,j;
char card[2];
while(1)
{
stack<string> pile[53];
scanf("%s",card);
if(card[0]=='#') return 0;
string temp=card;
pile[1].push(temp ...

Go to advanced search