Search found 3 matches

by plankton97330
Wed Aug 16, 2006 9:15 am
Forum: Volume 104 (10400-10499)
Topic: 10465 - Homer Simpson
Replies: 75
Views: 22708

try
4 8 17
8 4 17

both output 4 1
by plankton97330
Fri Jul 21, 2006 8:33 am
Forum: Volume 3 (300-399)
Topic: 357 - Let Me Count The Ways
Replies: 90
Views: 7483

if you want to know why you get WA on 357

Okay... This is such an easy problem, but took me 8 submissions to get it right... It is such a disaster when you know you have the right code but keep gettting WA for "no reason"... so what you should check... 1. the input range is 0-30000 inclusive 2. result[30000]=543427145501, so use long long 3...
by plankton97330
Mon May 22, 2006 10:32 am
Forum: Volume 6 (600-699)
Topic: 612 - DNA Sorting
Replies: 122
Views: 16189

Can anyone tell me why i got TLE? #include<iostream> #include<string> #include<algorithm> #include<vector> using namespace std; bool f(pair<int,string> a , pair<int,string> b) { return a.first < b.first; } int main(){ int N,n,l,c; vector< pair<int,string> > m; string s; cin >> N; while(N--){ m.clear...

Go to advanced search