Search found 3 matches

by missbus
Sun Jan 27, 2008 9:01 pm
Forum: Volume 113 (11300-11399)
Topic: 11321 - Sort! Sort!! and Sort!!!
Replies: 50
Views: 20852

Runtime error!!!!!!

#include <cstdlib> #include <iostream> using namespace std; #define MSIZE 10003 struct qq { int ori,mod; }q[MSIZE]; int modcomp(const void *a, const void *b) { qq *q1 = (qq*) a; qq *q2 = (qq*) b; return q1->mod - q2->mod; } int upcomp(const void *a, const void *b){ return (*(int *)a) - (*(int*)b); ...
by missbus
Wed Feb 28, 2007 8:46 am
Forum: Volume 102 (10200-10299)
Topic: 10205 - Stack 'em Up
Replies: 60
Views: 23421

How do I modify this problem,if I don't use java.io,I can't input anything....
by missbus
Tue Feb 27, 2007 3:51 pm
Forum: Volume 102 (10200-10299)
Topic: 10205 - Stack 'em Up
Replies: 60
Views: 23421

10205

import java.io.*; import java.util.*; public class Main{ public static void main(String[] args)throws Exception { Scanner cin=new Scanner(System.in); BufferedReader keyin=new BufferedReader(new InputStreamReader(System.in)); int choose=0; int []original=new int[52]; int []position=new int[52]; int [...

Go to advanced search