Search found 1 match

by convyusboy
Sun Sep 30, 2012 3:51 pm
Forum: Volume 6 (600-699)
Topic: 621 - Secret Research
Replies: 45
Views: 28040

Re: 621 - Secret Research

#include <stdio.h>
#include <string>
#include <iostream>

using namespace std;

int TC;
string s;

int main () {
scanf ("%s", &TC);
while (TC --) {
getline (cin, s);
if (s == "1" || s == "4" || s == "78")
printf ("+");
else {
int le = s.length ();
if (le > 1 && s[le - 1] == '5' && s[le - 2 ...

Go to advanced search