从后台研发到跑路

// Problem: 从后台研发到跑路
// Contest: NowCoder
// URL: https://ac.nowcoder.com/acm/contest/20960/1006
// Memory Limit: 262144 MB
// Time Limit: 2000 ms
// 2022-03-24 01:38:30
// 
// Powered by CP Editor (https://cpeditor.org)

#include<bits/stdc++.h>
using namespace std;

#define rep(i,l,r) for(int i=(l);i<=(r);i++)
#define per(i,l,r) for(int i=(l);i>=(r);i--)
#define ll long long
#define mset(s,t) memset(s,t,sizeof(t))
#define mcpy(s,t) memcpy(s,t,sizeof(t))
#define fi first
#define se second
#define pb push_back
#define all(x) (x).begin(),(x).end()
#define SZ(x) ((int)(x).size())
#define mp make_pair

typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef vector<int> vi;   
typedef vector<ll> Vll;               
typedef vector<pair<int, int> > vpii;
typedef vector<pair<ll, ll> > vpll;                        

const ll mod = 1e9 + 7;
//const ll mod = 998244353;
const double pi  = acos(-1.0);

inline ll qmi (ll a, ll b) {
	ll ans = 1;
	while (b) {
		if (b & 1) ans = ans * a%mod;
		a = a * a %mod;
		b >>= 1;
	}
	return ans;
}
inline int read () {
	int x = 0, f = 0;
	char ch = getchar();
	while (!isdigit(ch)) f |= (ch=='-'),ch= getchar();
	while (isdigit(ch)) x = x * 10 + ch - '0', ch = getchar();
	return f?-x:x;
}
template<typename T> void print(T x) {
	if (x < 0) putchar('-'), x = -x;
	if (x >= 10) print(x/10);
	putchar(x % 10 + '0');
}
inline ll sub (ll a, ll b) {
	return ((a - b ) %mod + mod) %mod;
}
inline ll add (ll a, ll b) {
	return (a + b) %mod;
}
inline ll inv (ll a) {
	return qmi(a, mod - 2);
}

char s[100000];
void solve() {
	char x;
	int n = 0;
	while((x = getchar()) != EOF) {
		s[n++] = x;
	}
	for (int i = 0; i < n; i ++) {
		if(s[i] == '\"' && s[i  -1] != '\\') {
			cout << s[i++];
			while (1) {
				cout << s[i];
				if (s[i] == '"' && s[i - 1] != '\\')
					break;
				i ++;
			}
		}
		else if (s[i] == '/' && s[i + 1] == '*') {
			int j = i;
			i += 3;
			while (1) {
				if (i >= n || s[i - 1] == '*' && s[i] == '/')
					 break;
				i ++;
			}
			if (i >= n)
				for (;j < n;j ++)
					cout << s[j];
		}
		else cout << s[i];
	}
	
}
int main () {
	// ios::sync_with_stdio(0),cin.tie(0), cout.tie(0);
    int t;
    t =1;
    //cin >> t;
    while (t --) solve();
    return 0;
}



我们从终止条件的角度处理

下载前必看:https://pan.quark.cn/s/a16f11f200be 在建筑工程的范畴内,沟槽开挖是一项至关重要的基础施工技术,其在市政工程、管道铺设以及地基加固等多个领域得到了普遍应用。 本文将聚焦于“沟槽开挖交底”这一核心议题,致力于呈现系统且深入的沟槽开挖知识体系,从而协助相关人员掌握其关键流程、安全规范以及技术精髓。 沟槽开挖的过程中通常包含以下几个核心要素:1. **设计与规划**:在沟槽开挖启动之前,必须依据设计图纸进行周密的施工方案制定,明确沟槽的宽度、深度、长度及形态。 设计工作需综合考量土壤性质、地下水位、周边建筑物的状况等因素,以保障结构稳定性和施工安全性。 2. **土方计算**:依据沟槽的具体尺寸,精确计算需要移除的土方量,以便于科学安排运输和回填作业。 这一环节涉及体积计算方法和土方平衡原理,旨在实现工程成本的合理化控制。 3. **施工方法**:常用的开挖方式包括直壁开挖、放坡开挖、支撑开挖等。 选择何种方法应综合考虑地质条件、工程规模、工期要求以及成本预算等因素。 例如,在软土区域可能需要实施降水和支护措施。 4. **安全措施**:在沟槽开挖的整个过程中,必须严格遵守安全操作规程,包括设置警示标识、安装安全护栏、预防土体滑坡等。 同时,需定期检测边坡的稳定性,迅速应对潜在风险。 5. **地下水控制**:当地下水位较高时,可能需要采取降水措施,例如采用井点降水或轻型井点降水技术,以避免沟槽内部积水,确保作业环境的安全。 6. **环境保护**:在开挖作业中,应注重减轻对周边环境的影响,例如控制施工噪声、减少尘土飘散以及防止水土流失。 此外,应妥善处置挖掘出的土方,防止造成二次污染。 7. **机械设备选择**:根据沟槽的尺寸和地质状况,挑选适...
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值