Search found 2 matches

by Zedi
Mon Aug 31, 2015 10:53 am
Forum: Volume 101 (10100-10199)
Topic: 10142 - Australian Voting
Replies: 82
Views: 42691

Re: 10142 - Australian Voting

Can anyone help me why I get WA? #include <stdio.h> #include <iostream> #include <cstdlib> #include <cstring> #include <fstream> using namespace std; //int inMinIndex(int, int*, int); int main(void){ ifstream ifs; int l; int case_num = 0; char line[100]; //cout << "start\n"; cin >> case_nu...
by Zedi
Mon Aug 31, 2015 10:47 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 143563

Re: 10038 - Jolly Jumpers

I got Runtime Error on UVA, WA on Programming Challenges. Any recommendation for my code or test case will be appreciated! TY #include <stdio.h> #include <stdlib.h> #include <math.h> int main(void){ int nums[3000]; int num_checks[3000]; int num; char ch; char char_num[4]; char line[10000]; while (1)...

Go to advanced search