UVA 1636 Headshot

https://vjudge.net/problem/51197/origin

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define inf 0x3f3f3f3f
using namespace std;
typedef long long ll;
int main()
{
#ifndef ONLINE_JUDGE
    freopen("in.txt","r",stdin);
#endif // ONLIN
    string s;
    int a,b;int n;int c;
    while(cin>>s)
    {
        n=s.size();
        a=0;b=0;c=0;
        for(int i=0;ib*b){cout<<"SHOOT"<

 

你可能感兴趣的:(uva)