Search found 63 matches

by SRX
Sat Sep 24, 2005 7:15 pm
Forum: Volume 1 (100-199)
Topic: 142 - Mouse Clicks
Replies: 58
Views: 6451

142input-way

I saw fix mistake post Is my input way ok ? #include <iostream> #include <cstdio> #include <cmath> using namespace std ; struct Point { double x ; double y ; } point[100] ; int inx = -1 , tmp = 0 ; int InputI (){ cin >> point[++inx].x >> point[inx].y ; } int InputR ( char ar[600][600] ) { int i , j ...
by SRX
Sat Aug 20, 2005 7:06 am
Forum: Volume 1 (100-199)
Topic: 170 - Clock Patience
Replies: 28
Views: 2604

170-wa

Hello , I'm taiwanese . I tried many test data , but still wa #include <iostream> #include <cctype> #include <cstdio> using namespace std ; char card [13][4][3] ; int top [13] , i , ans , j ; int Initial () { for ( i=0 ; i<13 ; top[i]=3 , i++ ) ; ans=0 ; } int Input () { int i , j ; for ( i=3 ; i>=0...
by SRX
Fri Aug 12, 2005 7:28 pm
Forum: Volume 4 (400-499)
Topic: 437 - The Tower of Babylon
Replies: 14
Views: 8073

I use LIS and pass the above test data but still wa #include <iostream> #include <algorithm> //#include <fstream> using namespace std ; //ifstream fin ("437.in") ; //ofstream fout ("437.txt") ; int n , inx , cases = 0 ; struct box { int sta [3] ; } Box [100] ; int mysort ( box& Box ){ int i , j ; fo...

Go to advanced search