Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148875 周润泽 墓碑上的字符 C++ Wrong Answer 0 MS 272 KB 488 2026-03-01 19:47:56

Tests(0/2):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int t; cin >> t; cin.get(); for (int i = 0; i < t; ++i) { string s; getline(cin, s); string n; bool f = true; for (char c : s) { if (c == ' ') { f = true; } else if (f) { n += toupper(c); f = false; } } cout << n << endl; } return 0; }


Run Info:

------Input------
2 Ez/c[yC9'Xz1)Qrs"so>_Ig}<~kp/'*O)qwertyuioop[]\{ BS%Bcv5WXD@tAD\?d6H(BoJFDmdIS5V]rFXg=8o2clSZne094 Ri/)p7^|8|2q MY?)i%t<
------Answer-----
Ez/c[yC9'Xz1)Qrs"so>_Ig}BS%Bcv5WXD@tAD\?d6H(BoJFDmdIS5V]rFXg=8o2clSZne094<~kp/'*O)qwertyuioop[]\{ Ri/)p7MY?)i%t<^|8|2q
------Your output-----
E B