Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
107535 周子潇 02计算(a+b)/c C++ Compile Error 0 MS 0 KB 149 2025-01-18 09:50:01

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; cout<<(a+b)/c return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: expected ';' before 'return'
     return 0;
     ^