6 like 0 dislike

Online Judge is to compare your output with the desired output specific by the author of the problem.

This problem will expect the output:

Hello World

So, you should output only the required output by this program:

#include <stdio.h>
int main(){
  printf("Hello World");
  return 0;
}

The below program looks similar but will not be accepted because of the newline at the end:

#include <stdio.h>
int main(){
  printf("Hello World\n");
  return 0;
}

Enjoy your time with The Judge!

[Normal] Coding (C) - asked in Introduction to Computer Programming I (C) by (9.9k points)
ID: 27262 - Available when: Unlimited - Due to: Unlimited

edited by | 221 views
0 0
#include <stdio.h>
int main(){
  printf("Hello World");
  return 0;
}

1 Answer

0 like 0 dislike
Hidden content!
* ** ** ** * **
int main(){
** * * * ****** ** * *** * *
** * * * ****** 0;
}
answered by (9.9k points)
0 0
Case 0: Correct output
Get it on Google Play Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:162.158.75.249
©2016-2021

Related questions

5 like 0 dislike
0 answers
[Normal] Coding (C) - asked Feb 19, 2017 in Introduction to Computer Programming I (C) by The Contributor (20.9k points)
ID: 21974 - Available when: Unlimited - Due to: Unlimited
| 55 views
11,520 questions
144,056 answers
148,143 comments
4,159 users