Submission #188389
Source Code Expand
#include <iostream> #include <string> int main(){ std::string str; std::cin >> str; if (str[0] >= 'a') str[0] = str[0] - 'a' + 'A'; for (int i = 1; i < str.size(); i++){ if (str[i] <= 'Z') str[i] = str[i] - 'A' + 'a'; } std::cout << str<<std::endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 来月は何月? |
User | swdkit |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 294 Byte |
Status | WA |
Exec Time | 23 ms |
Memory | 932 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_1.txt, test_10.txt, test_11.txt, test_12.txt, test_2.txt, test_3.txt, test_4.txt, test_5.txt, test_6.txt, test_7.txt, test_8.txt, test_9.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
test_1.txt | WA | 23 ms | 676 KB |
test_10.txt | WA | 23 ms | 924 KB |
test_11.txt | WA | 23 ms | 924 KB |
test_12.txt | WA | 22 ms | 932 KB |
test_2.txt | WA | 23 ms | 800 KB |
test_3.txt | WA | 23 ms | 804 KB |
test_4.txt | WA | 23 ms | 792 KB |
test_5.txt | WA | 22 ms | 796 KB |
test_6.txt | WA | 22 ms | 800 KB |
test_7.txt | WA | 23 ms | 796 KB |
test_8.txt | WA | 22 ms | 804 KB |
test_9.txt | WA | 23 ms | 804 KB |