I don't know what I wrong
I only check the substring's length is 3 ans 4.
#include <iostream>
#include <cstring>
#include <string>
#include <vector>
#include <algorithm>
using std::find ;
using std::vector ;
using std::string ;
using std::cin ;
using std::cout ;
using std::endl ;
bool is_palin ...
Search found 2 matches
- Sat Jun 10, 2006 8:26 am
- Forum: Volume 2 (200-299)
- Topic: 257 - Palinwords
- Replies: 16
- Views: 7443
- Tue Feb 07, 2006 12:02 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10193 - All You Need Is Love
- Replies: 23
- Views: 13921
10193---All You Need Is Love
I find all I cound find case , including 111 111...etc
But I also got WA
Why?
Here is my code...
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
using namespace std ;
int main(){
int set ;
cin >> set ;
for( int Si = 1 ; Si <= set ; Si ...
But I also got WA
Why?
Here is my code...
#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>
using namespace std ;
int main(){
int set ;
cin >> set ;
for( int Si = 1 ; Si <= set ; Si ...