Search found 4 matches

by ngdik
Tue Jul 01, 2014 9:03 am
Forum: Volume 100 (10000-10099)
Topic: 10037 - Bridge
Replies: 84
Views: 23827

Re: 10037 Bridge

i fix the(A+2*B+Y+Z) > (A*2+Y+Z), but i can not get the ac #include <iostream> #include <sstream> #include <string> #include <vector> #include <algorithm> using namespace std; void check(); int main() { int n; cin >> n; for (int i = 0; i < n; i++) { check(); } } void check() { int num; int tmp; vect...
by ngdik
Tue Jul 01, 2014 8:22 am
Forum: Volume 100 (10000-10099)
Topic: 10037 - Bridge
Replies: 84
Views: 23827

10037 Bridge

hi, I tried the test case and it was right,but i can not get the Ac,who can help me,pls #include <iostream> #include <sstream> #include <string> #include <vector> #include <algorithm> using namespace std; void check(); int main() { int n; cin >> n; for (int i = 0; i < n; i++) { check(); } system("pa...
by ngdik
Tue Jun 24, 2014 8:01 am
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 27135

Re: 10315 Poker Hands

brianfry713 wrote:White wins should have a period at the end of the line.
Very Thanks!!!!
I'm Accepted!!!
by ngdik
Mon Jun 23, 2014 1:35 pm
Forum: Volume 103 (10300-10399)
Topic: 10315 - Poker Hands
Replies: 63
Views: 27135

10315 Poker Hands

Hi, I write the code and I test some data and that can be solovd,but i can not get the Accepted. #include <iostream> #include <string> #include <algorithm> #include <stdio.h> #include <string.h> #include <stack> #include <sstream> using namespace std; bool isFlush(char *suit); bool isStraight(int *c...

Go to advanced search