Search found 2 matches
- Sun Nov 26, 2006 3:50 am
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60490
- Sat Nov 25, 2006 5:52 pm
- Forum: Volume 4 (400-499)
- Topic: 406 - Prime Cuts
- Replies: 187
- Views: 60490
406 TLE Prime Cuts
I tried all the inputs from the forum and all worked, still getting tle, could anyone help?
also i tried to add braces around the if/else statements but didnt change.
#include <iostream>
#include <vector>
using namespace std;
bool prime(int n);
int main()
{
int i,n,c,temp;
vector<int> v ...
also i tried to add braces around the if/else statements but didnt change.
#include <iostream>
#include <vector>
using namespace std;
bool prime(int n);
int main()
{
int i,n,c,temp;
vector<int> v ...