Submission #532922


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i = 0 ; i < (n) ; i++)
#define all(x) (x).begin(),(x).end()

int main(){
	int T;
	int ans = 0;
	while(T--){
		string s;
		cin >> s;
		ans += (s.find("kyoto")!=-1) || (s.find("tokyo")!=-1);
	}		
	cout << ans << endl;
}

Submission Info

Submission Time
Task A - 東京都
User kyuridenamida
Language C++11 (GCC 4.9.2)
Score 0
Code Size 302 Byte
Status WA
Exec Time 33 ms
Memory 1012 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
WA × 3
Set Name Test Cases
All 10_random_to_kyo.txt, 20_noised_tokyoto.txt, 99_teuchi.txt
Case Name Status Exec Time Memory
10_random_to_kyo.txt WA 33 ms 1012 KB
20_noised_tokyoto.txt WA 30 ms 1008 KB
99_teuchi.txt WA 30 ms 952 KB