4 like 0 dislike

請寫出一個程式讓看似亂碼的文字轉變回英文

Input 1:

^jibm\opg\odjin

Output 1:

congratulations

 

p.s. 使用迴圈時的中止條件不能是'/n'而是EOF

[Normal] Coding (C) - asked in 程式設計(一)
Available when: Unlimited - Due to: Unlimited

retagged by | 80 views

3 Answers

0 like 0 dislike
Hidden content!
* *** * *** * ** *** *
* *** * ***** *
int main()
{
* * ** ** str[50];
* * * * * ** * ** *** ***
*** *
* * * i;
* * **** * * * * *
 {
* *** * * ** ** * **** * **** **** ** *
 }

*
* * * ** * 0;
}
answered by (154 points)
0 0
Case 0: Wrong output
Case 1: Wrong output
0 0
Case 0: Correct output
Case 1: Correct output
0 like 0 dislike
Hidden content!
* * * * * * **
****** ** * ** **
int main()
{
** ** ** * * ** char arr[1000];
* *** *   *** ** ******* * ** * ** *
* * *** *** * ** {
* * * ** * *   * * int i;
* * * * * * * ** **** * **
* *** **   {
* **** * * ** * * * * * * * *
** * ** * ** *** * * ** }
*** ** *** * ** * * *** * *** * * *** * * **
** ** * * ** }
** ** * ** return 0;
}
answered by (100 points)
0 0
Case 0: Correct output
Case 1: Correct output
0 like 0 dislike
Hidden content!
#include *** *** * * *
#include ** *** ** ** *
#include ** ** *** * *

int main()
{
* *** ** ** * char str[100];
** * ** ** ** int flag,i;
* ** * * * * * * ******* **** ** * *
**** * * * * * * * * do
* * ** * *** * * * {
* * * * *** * ** ** flag=0;
***** * * *** *** * * ** * * * * * * * **** * **** * * *
* ** *** * **** ** ** * *** {
* ** *** * * **** **** * *** ***       **   ** * ** ** ** **** * ** * ***   )
* * *               {
* * * * * ** * ** * ** * * * ** *** * **** * * flag=0;
** * ** ** * * **** ** ** ** ** ** * }
* * * * ** ***** * * ** * * * ***** ** ** else
****** * * ** * **** ** * * * * * ** * ** {
* * *** * *** ** ** * * ** * ** * * * *** * ** * *** * * flag=1;
* * ** * * * * * ***** * **** **** ** **** **** ***** ** break;
* ** ** ** * **** * *** ***** * * * **** * ** ** }

*** * *** *** * * * ***** ** * }
* *** *** * ** ** ** ** * ** * * **
** ***** *** * * *** * *****   ** * ** * * * * **** **** * ** *
* * *** * * * **** * ** ** *** **** * *** * ** * str[i]++;
*** ** * * *** * * * * ***
* * * ** * *** ***** * *** * ** * * ***** *** * * * * *** ** **
* * ** * return 0;
}
answered by (154 points)
edited by
0 0
Case 0: Wrong output
Case 1: Wrong output
0 0
Case 0: Wrong output
Case 1: Wrong output
0 0
Case 0: Wrong output
Case 1: Wrong output
0 0
Case 0: Wrong output
Case 1: Wrong output
0 0
-----------Re-judge-----------
Case 0: Wrong output
Case 1: Wrong output
0 0
Case 0: Wrong output
Case 1: Wrong output
0 0
Case 0: Wrong output
Case 1: Wrong output
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:108.162.221.93
©2016-2019

Related questions

4 like 0 dislike
3 answers
[Normal] Coding (C) - asked Jan 3, 2018 in 程式設計(一) by semicolon (5.2k points)
Available when: Unlimited - Due to: Unlimited
| 42 views
4 like 0 dislike
4 answers
[Normal] Coding (C) - asked Jan 3, 2018 in 程式設計(一) by thopd (11.3k points)
Available when: Unlimited - Due to: Unlimited
| 51 views
8,033 questions
60,929 answers
33,033 comments
1,105 users