Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154137 鸡哥 08判断是否为闰年 C++ Compile Error 0 MS 0 KB 290 2026-05-24 15:30:56

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; if(a / 400 == 0){ cout<<"yes"; }else{ if(a / 400 == 1 and a/100 ==1 anda / 4 == 0){ cout<<"yes"; }else{ if(a / 400 == 1 and a / 100 == 0){ cout<<"no"; } } } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:33: error: expected ')' before 'anda'
   if(a / 400 == 1 and a/100 ==1 anda / 4 == 0){
                                 ^