Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99668 刘明沅 09闰年第n个月有多少天 C++ Compile Error 0 MS 0 KB 253 2024-11-30 12:45:18

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n==1||n==3||n==5||n==7||n==8||n==10||n==12){ cout<<"31"; } if(n==4||n==6||n==9||n==11){ cout<<"30"; } if(n==2){ cout<<"29" } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:14:2: error: expected ';' before '}' token
  }
  ^