QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#772953#1795. Beer Can GameI_be_wannaWA 1ms3840kbC++17156b2024-11-22 23:09:062024-11-22 23:09:06

Judging History

你现在查看的是最新测评结果

  • [2024-11-22 23:09:06]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3840kb
  • [2024-11-22 23:09:06]
  • 提交

answer

#include<iostream>
using namespace std;
int main(){
	string n;
	int l;
	cin>>n;
	if(n=="aann"){
		l=4;
	}else{
		l=0;
	}
	cout<<l;
	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3840kb

input:

aa
nn

output:

0

result:

wrong answer 1st lines differ - expected: '4', found: '0'