Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
138595 余建成 08判断是否为闰年 C++ Compile Error 0 MS 0 KB 209 2025-11-29 10:25:04

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { int a; cin>>a; if(a/2%0) { cout<<"yes"<<cndl; } else { cout<<"no"<<cndl; } rearm 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:11: warning: division by zero [-Wdiv-by-zero]
     if(a/2%0)
           ^
Main.cc:9:22: error: 'cndl' was not declared in this scope
         cout<<"yes"<