Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
119343 | 李折曦 | 07大小写转换 | C++ | Runtime Error | 0 MS | 264 KB | 215 | 2025-05-17 14:24:29 |
#include <bits/stdc++.h> using namespace std; int main (){ int n,y,x; cin>>x>>y>>n; if(y % x >= n){ cout<<0; }else{ if(y % x == 0) cout<<n-y/x; else cout<<n-y/x-1; } return 0; }
Runtime Error:Floating point exception