有没有大佬帮我看看哪里错了?

wjl2014 2024-05-30 20:36:59 6

#include<bits/stdc++.h> using namespace std; int main() { int y,u=0; cin>>y; for(int h=1;h<=y;h++) { if(h%3==0) { u=u+y; } } cout<<u; return 0; }

{{ vote && vote.total.up }}