Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130954 李林叡 14报数拿糖 C++ Compile Error 0 MS 0 KB 220 2025-09-20 14:40:51

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ for(int i=1;i<=100;i++) { if(i%3==0){ if(i%10==0){ cout<<10<<" ": continue ; } else{ cout<i%10<<" "; continue ; } } } }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:17: error: expected ';' before ':' token
    cout<<10<<" ": 
                 ^
Main.cc:10:16: error: invalid operands of types 'int' and 'const char [2]' to binary 'operator<<'
     cout