蓝桥杯 1083: Hello, world! Easy only once *注意不同OJ系统的问题
基本思想:
没啥,ASCII的弱智题;
关键点:
蓝桥OJ的两个特点:
不支持边读入边输出,和PATOJ有区别;
System pause 会导致超时问题;
#include<iostream>
#include<stdlib.h>
#include<stdio.h>
#include<vector>
#include<string>
#include<math.h>
#include<algorithm>
#include<cstring>
using namespace std;
using std::vector;
vector<char>vec;
int main() {
char s;
int n;
while (scanf("%d", &n) != EOF) {
s = n;
vec.push_back(s);
}
for (auto ele : vec)
cout << ele;
//system("pause");
return 0;
}

浙公网安备 33010602011771号