跳到正文

题解

题解:P14583 彩绘标志

wjy7777约 1 分钟
原文
文章信息与版本

文章信息

发布
2025年11月23日
收录
2025年12月12日
更新
2026年11月16日
篇幅
约 1 分钟
题目
P14583

版本

  1. v1当前

题意

题目传送门

分析

只要有的颜料克数大于等于需要的颜料克数即可。

code

C++
#include<bits/stdc++.h>
using namespace std;
signed main(){
	string a,b;
	cin>>a>>b;
	if(b>=a)cout<<1;
	else cout<<0;
	return 0;
}
原文