Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145002 杨润东 属相 C++ Wrong Answer 0 MS 268 KB 438 2026-01-24 20:03:04

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int x,y,s=0,z; cin>>x>>y; if(12<=x<18){ s+=(18-x)*500; } z=x+y; if(18<=z<22){ s+=(z-18)*700; } cout<<s; return 0; }


Run Info:

------Input------
5 2
------Answer-----
Mouse
------Your output-----
-1200