Search found 2 matches

by iit2006039
Sun Jun 29, 2008 2:23 pm
Forum: Volume 5 (500-599)
Topic: 562 - Dividing coins
Replies: 73
Views: 44251

Re: 562 - Dividing Coins

@ raykou

your code have some missing brackets.
see to it and paste again your code.
by iit2006039
Mon Jun 09, 2008 4:55 pm
Forum: Volume 4 (400-499)
Topic: 414 - Machined Surfaces
Replies: 49
Views: 14945

Re: 414 WA, need help!


#include<iostream>
#include<cmath>
#include<vector>
#include<sstream>
#include<string>
#include<iomanip>
#include<algorithm>

using namespace std;

int main()
{
int num;
cin>>num;
while(num!=0)
{
string s;
vector<string> arr(num);
getline(cin,s);
for(int i=0;i<num;i++)
getline(cin,arr[i ...

Go to advanced search