Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78285 令狐文丽 [在线测评解答教程] 闰年 C++ Compile Error 0 MS 0 KB 313 2024-06-17 19:11:46

Tests(0/0):


Code:

#include<istream> #include<stdio.h> using namespace std; int main(){ int n,t; scanf("%d",&t); while(t--){ scanf("%d",&n); if(n%4==0 or n%100!=0){ cout<<"Yes"<<endl; }else{ cout<<"NO"<<endl; } } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:10: error: 'cout' was not declared in this scope
          cout<<"Yes"<