Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
114829 鲁博睿 07苹果和虫子 C++ Compile Error 0 MS 0 KB 201 2025-03-23 16:16:55

Tests(0/0):


Code:

#include <bits/stdc++.h> ? using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(c%2==1){ cout<<a-(c/b)-1; } if(c%2==0){ cout<<a-(c/b); } if( return 0; }


Run Info:

Main.cc:1:26: warning: extra tokens at end of #include directive
 #include  ?
                          ^
Main.cc: In function 'int main()':
Main.cc:17:2: error: expected primary-expression before 'return'
  return 0;
  ^
Main.cc:17:2: error: expected ')' before 'return'