Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147378 赖泓宇 07苹果和虫子 C++ Compile Error 0 MS 0 KB 235 2026-02-04 16:55:27

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int n,x,y; cin>>n>>x>>y; if(y%x>0){ if(n-y/x-1>=0){ cout<<n-y/x-1; }else{ cout<<0; } }else if(n-y/x>=0){ cout<<n-y/x; }else{ cout<<0; } } 评论:


Run Info:

Main.cc:19:1: error: stray '\350' in program
 评论:
 ^
Main.cc:19:1: error: stray '\257' in program
Main.cc:19:1: error: stray '\204' in program
Main.cc:19:1: error: stray '\350' in program
Main.cc:19:1: error: stray '\256' in program
Main.cc:19:1: error: stray '\272' in program
Main.cc:19:7: error: expected unqualified-id before ':' token
 评论:
       ^