Submission #213350


Source Code Expand

Copy
#include <iostream>
#include <iomanip>
#include <cassert>
#include <algorithm>
#include <functional>
#include <vector>
#include <string>
#include <cstring>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <bitset>
#include <sstream>
#include <istream>
#include <cmath>
#include <cstdio>
#include <complex>

using namespace std;

// figure
typedef long long ll;

// repeat
#define for_(i, a, b) for (int i=a; i<b; i++)
#define for_d(i, b, a) for (int i=b-1; i>=a; i--)
#define FOR(it, c) for(__typeof((c).begin())it=(c).begin(); it!=(c).end(); it++)

// for STL
#define pb push_back
#define sz size()
#define all(x) x.begin(), x.end()
typedef vector<int> veci;
typedef vector<string> vecs;
typedef map<int, int> mapii;
typedef map<char, int> mapci;
typedef pair<int, int> P;

// memory
#define minit(a, i) memset(a, i, sizeof(a));

// inf
const int iINF = 2147483647;
const ll lINF = 9223372036854775807;

// eps
double EPS = 1e-9;

int main() {
	char c; cin >> c;
	int r = (c - 'A');
	cout << r << endl;
	return 0;
}




Submission Info

Submission Time
Task A - A
User tsukasa_diary
Language C++ (G++ 4.6.4)
Score 0
Code Size 1104 Byte
Status WA
Exec Time 26 ms
Memory 1000 KB

Judge Result

Set Name all
Score / Max Score 0 / 100
Status
WA × 5
Set Name Test Cases
all A.txt, B.txt, C.txt, D.txt, E.txt
Case Name Status Exec Time Memory
A.txt WA 25 ms 1000 KB
B.txt WA 25 ms 920 KB
C.txt WA 26 ms 880 KB
D.txt WA 26 ms 880 KB
E.txt WA 26 ms 944 KB