Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152588 邓弘锐 消消乐 C++ Compile Error 0 MS 0 KB 281 2026-04-26 17:50:17

Tests(0/0):


Code:

#include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int g,s,b,i; for(i=100;i<=999;i++){ g=i%10; s=i/10%10; b=i/100; if(g==b&&g==s){ cout<<i<<endl; } } return 0; }


Run Info:

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