为什么有3个WA!其他AC!
查看原帖
为什么有3个WA!其他AC!
938225
Harry2023楼主2023/9/29 14:29
/*********************************
备注:
*********************************/
#include <iostream>
#include <cstdio>
#include <iomanip>
#include <cmath>
#include <math.h>
#include <algorithm>
#include <cstring>
#include <string>
#include <stack>
#include <queue>
#include <algorithm>
#define LL long long
using namespace std;
const int INF = 0x3f3f3f3f;
const int N = 1e5 + 10;
int m , t , s , n , a;
int main()
{
	cin >> m >> t >> s;
	if(t == 0)
    {
    	cout << 0;
    	return 0;
    }
	a = s / t;
	n = m - a;
	cout << n;
	return 0;
}
2023/9/29 14:29
加载中...