This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
int i, j; | |
int n; | |
scanf("%d", &i); | |
for(j = 0;j < i;j++){ | |
scanf("%d", &n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
int a; | |
scanf("%d", &a); | |
printf("%d:", 10 + a / 100); | |
if((a % 100) / 10 * 6 < 10){ | |
printf("0"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
int i, j, n; | |
scanf("%d", &n); | |
for(i = 0;i < n;i++){ | |
for(j = n - i;j > 0;j--){ | |
printf("%d", n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
int i; | |
char s[10]; | |
int score = 0; | |
scanf("%s", s); | |
for(i = 0;i < 9;i++){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<math.h> | |
int main(void){ | |
int a, i, sum = 0; | |
for(i = 0;i < 5;i++){ | |
scanf("%d", &a); | |
if(a % 15 == 0){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
char a1, a2, a3; | |
scanf("%c%c%c%c%c", &a1, &a2, &a2, &a3, &a3); | |
if(a2 == '?'){ | |
printf("14\n"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
int i, n; | |
int p1, p2; | |
int rn, r[1000]; | |
int c = 0; | |
scanf("%d%d%d", &p1, &p2, &n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
long long int a, b = 0, c; | |
long long int i = 1; | |
scanf("%ld%ld", &a, &c); | |
while(a != 0 || c != 0){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main(void){ | |
int i; | |
char s[100]; | |
scanf("%s", s); | |
i = 0; | |
while(s[i] == '9'){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int i, j; | |
char a[65], b[65]; | |
scanf("%s", a); | |
scanf("%s", b); | |