计算机25(1,2)实验二


Problems

Problem Points AC Rate Users
1930 奥运年 100 3.2% 207
1306 牙牙学语 100 4.0% 188
1196 逆反01串 100 2.7% 188
1047 字母转换 100 1.8% 190
1095 比较大小 100 1.8% 189
1630 SCU's Bath House 100 3.0% 188
1018 Be Careful 100 3.3% 189
1268 判断三角形 100 3.5% 189
1880 温度转换 100 3.6% 188
1000 A+B Problem 100 0.7% 197

Comments


  • 0
    302025315074  commented on Oct. 14, 2025, 12:14 a.m.

    include<iostream>

    using namespace std; int main() { int N; while (cin >> N) { if (N % 4 == 0) { cout << N<<"is the olympic year." << endl; } else { cout << N<<"is not the olympic year."; } }

    return 0;

    }


  • 0
    302025315384  commented on Oct. 14, 2025, 12:13 a.m.

    include<iostream>

    using namespace std; int main(){ int n; cin>>n; if(n%4==0) cout<<n<<"is the olympic year."<<endl; else cout<<n<<"is not the olympic year."<<endl; return 0; }