Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
93361 xxc666 能否被3和5整除 C++ Compile Error 0 MS 0 KB 165 2024-10-13 15:36:37

Tests(0/0):


Code:

include<iostream> using namespace std; int main(){ int a; cin>>a; if(a/3==0&&a/5==0){ cout<<"yes"; } else{ cout<<"no"; } }


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include
 ^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
     cin>>a;
     ^
Main.cc:7:5: error: 'cout' was not declared in this scope
     cout<<"yes";
     ^
Main.cc:10:5: error: 'cout' was not declared in this scope
     cout<<"no";
     ^