1 条题解
-
0
C++ :
#include <iostream> using namespace std; int main() { char str[101]; cin >> str; bool allPrintable = true; for (int i = 0; str[i] != '\0'; ++i) { if (str[i] < 32 || str[i] > 126) { allPrintable = false; break; } } cout << (allPrintable ? "YES" : "NO") << endl; return 0; }
- 1
信息
- ID
- 686
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- (无)
- 标签
- 递交数
- 0
- 已通过
- 0
- 上传者