Search found 3 matches

by tommy5198
Sat Dec 22, 2012 1:41 am
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 60490

Re: 406 - WA ...

https://ideone.com/bEuxcb

i fix it but still WA ..><
by tommy5198
Fri Dec 21, 2012 3:46 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 60490

Re: 406 - WA ...

input:
1000 1000

output:
1000 1000: 1 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101 103 107 109 113 127 131 137 139 149 151 157 163 167 173 179 181 191 193 197 199 211 223 227 229 233 239 241 251 257 263 269 271 277 281 283 293 307 311 313 317 331 337 347 349 353 359 ...
by tommy5198
Thu Dec 20, 2012 4:50 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 60490

406 - WA ...

plz help me .. new line after output dont work ><
my code:
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<cctype>
#include<string>
#include<cmath>
using namespace std;

bool isprime(int t){
if(t==2||t==3)
return true;
else if(t%2==0||t%3==0)
return false;
int ...

Go to advanced search