Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
72210 任斌 100~999的水仙花数 C++ Compile Error 0 MS 0 KB 214 2024-05-04 10:54:40

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { int ge,shi,bai; for(int i=100;i<=999;i++){ ge=i%10; shi=i/10%10;rr bai=i/100%10; if(ge==shi&&shi==bai) cout<<i<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:15: error: 'rr' was not declared in this scope
   shi=i/10%10;rr
               ^