Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4943 alpha 能否被3和5整除 C++ Compile Error 0 MS 0 KB 139 2024-10-07 11:06:09

Tests(0/0):


Code:

#include <iostream> int main(void){ int n; std::cin>>n; std::cout<<(n%15==0?"can":"cannot"); return 0:}


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:9: error: expected ';' before ':' token
 return 0:}
         ^
Main.cc:7:9: error: expected primary-expression before ':' token
Main.cc:7:9: error: expected ';' before ':' token