Submission #7304568


Source Code Expand

Copy
# -*- coding: utf-8 -*-
# @Author: WA_King
# @Date:   2019-04-03 19:35:31
# @Last Modified by:   lcw
# @Last Modified time: 2019-09-02 13:50:55
a=input()
b=input()
ans=0
for i in range(len(a)):
	if a[i]==b[i]:
		ans+=1
print(ans)

Submission Info

Submission Time
Task A - Tenki
User WA_King
Language C++14 (GCC 5.4.1)
Score 0
Code Size 240 Byte
Status CE

Compile Error

./Main.cpp:1:3: error: invalid preprocessing directive #-
 # -*- coding: utf-8 -*-
   ^
./Main.cpp:2:3: error: invalid preprocessing directive #@
 # @Author: WA_King
   ^
./Main.cpp:3:3: error: invalid preprocessing directive #@
 # @Date:   2019-04-03 19:35:31
   ^
./Main.cpp:4:3: error: invalid preprocessing directive #@
 # @Last Modified by:   lcw
   ^
./Main.cpp:5:3: error: invalid preprocessing directive #@
 # @Last Modified time: 2019-09-02 13:50:55
   ^
./Main.cpp:6:1: error: ‘a’ does not name a type
 a=input()
 ^