buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
import java.util.Scanner;
class Main {
int h, m, s;
public void kozueteacher() {
Scanner sc = new Scanner(System.in);
int y = sc.nextInt();
h = y / 3600;
m = (y - h * 3600) / 60;
s = (y - h * 3600) - (m / 60);
System.out.println(h + ":" + m + ":" + s);
}
public static void main(String[] ... | import java.util.Scanner;
class Main {
int h, m, s;
public void kozueteacher() {
Scanner sc = new Scanner(System.in);
int y = sc.nextInt();
h = y / 3600;
m = (y - h * 3600) / 60;
s = y - (h * 3600) - (m * 60);
System.out.println(h + ":" + m + ":" + s);
}
public static void main(String[] ... | [["-", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 11, 12, 16, 31, 16, 12, 23, 0, 24], ["-", 0, 11, 12, 16, 12, 23, 0, 16, 17, 85], ["+", 0, 11, 12, 16, 12, 23, 0, 16, 17, 48]] | 3 | 121 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner kb = new Scanner(System.in);
int S = kb.nextInt();
int h = S / 3600;
S = S % 3600;
int m = S / 60;
int s = S % 60;
System.out.println(h + ":" + m + ":"
+ ":" + s);
}
} | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner kb = new Scanner(System.in);
int S = kb.nextInt();
int h = S / 3600;
S = S % 3600;
int m = S / 60;
int s = S % 60;
System.out.println(h + ":" + m + ":" + s);
}
} | [["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 62], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72]] | 3 | 95 |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
int h, m, s, x;
Scanner a = new Scanner(System.in);
x = a.nextInt();
h = x / 3600;
m = x % 3600 / 60;
s = m % 60;
System.out.println(h + ":" + m + ":" + s);
}
} | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
int h, m, s, x;
Scanner a = new Scanner(System.in);
x = a.nextInt();
h = x / 3600;
m = x % 3600 / 60;
s = x % 3600 % 60;
System.out.println(h + ":" + m + ":" + s);
}
} | [["-", 8, 196, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 31, 22], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 109], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 499]] | 3 | 93 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
int h = 0, m = 0;
Scanner kbd = new Scanner(System.in);
int s = kbd.nextInt();
if (s > 0) {
h = s / 3600;
m = (s / 60) % 60;
s = s % 60;
}
System.out.println(h + ":" + m + ":"
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
int h = 0, m = 0;
Scanner kbd = new Scanner(System.in);
int s = kbd.nextInt();
if (s > 0) {
h = s / 3600;
m = (s / 60) % 60;
s = s % 60;
}
System.out.println(h + ":" + m + ":" + s);
}
} | [["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 62], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72]] | 3 | 107 |
import java.io.*;
class Watch {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
int time = Integer.parseInt(input);
int h = time / 3600;
int m = (time % 3600) / 60;
int s = (tim... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
int time = Integer.parseInt(input);
int h = time / 3600;
int m = (time % 3600) / 60;
int s = (time... | [["-", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["+", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["-", 0, 1, 0, 492, 3, 4, 0, 16, 17, 72], ["-", 0, 492, 3, 4, 0, 16, 12, 5, 0, 62], ["-", 0, 492, 3, 4, 0, 16, 12, 5, 0, 491]] | 3 | 113 |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int total_second = Integer.parseInt(br.readLine());
int second = total_second % 60;
int minute = total_second / 60 % 60;
int hour = t... | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int total_second = Integer.parseInt(br.readLine());
int second = total_second % 60;
int minute = total_second / 60 % 60;
int hour = t... | [["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 100 |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int hours = x / (60 * 60);
int y = x - (hours * 60);
int min = y;
int sec = y - (min * 60);
System.out.println(hours + ":" + min + ":" + sec);
}
... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int hours = x / (60 * 60);
int y = x - (hours * 60 * 60);
int min = y / 60;
int sec = y - (min * 60);
System.out.println(hours + ":" + min + ":" + ... | [["+", 49, 200, 51, 16, 12, 23, 0, 16, 17, 48], ["+", 49, 200, 51, 16, 12, 23, 0, 16, 12, 499], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 17, 85], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 12, 499]] | 3 | 102 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
int m, s, h;
s = S % 60;
m = (S / 60) % 60;
h = (S / 360) % 24;
System.out.println(h + ";" + m + ";" + s);
scan.close();
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
int m, s, h;
s = S % 60;
m = (S / 60) % 60;
h = (S / 3600) % 24;
System.out.println(h + ":" + m + ":" + s);
scan.close();
}
}
| [["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 499], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 499], ["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 491], ["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 104 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int S = s.nextInt();
int h = S / 3600;
S %= 3600;
int m = S / 60;
S %= 60;
System.out.println(h + ":" + m + ":" + s);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int S = s.nextInt();
int h = S / 3600;
S %= 3600;
int m = S / 60;
S %= 60;
System.out.println(h + ":" + m + ":" + S);
}
}
| [["-", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22], ["+", 0, 1, 0, 492, 3, 4, 0, 16, 12, 22]] | 3 | 87 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = a / 60;
int c = (a % 60) / 60;
int d = (a % 60) % 60;
System.out.printf("%d:%d:%d\n", b, c, d);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = a / 3600;
int c = (a % 3600) / 60;
int d = (a % 3600) % 60;
System.out.printf("%d:%d:%d\n", b, c, d);
}
}
| [["-", 8, 196, 0, 503, 49, 200, 51, 16, 12, 499], ["+", 8, 196, 0, 503, 49, 200, 51, 16, 12, 499], ["-", 49, 200, 51, 16, 31, 23, 0, 16, 12, 499], ["+", 49, 200, 51, 16, 31, 23, 0, 16, 12, 499]] | 3 | 91 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
int S = Integer.parseInt(line);
int h = S / 3600;
int m = S % 3600 / 60;
int s = S % 3600 % 60;
System.out.println(h + ":" + m + ";" +... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String line = sc.nextLine();
int S = Integer.parseInt(line);
int h = S / 3600;
int m = S % 3600 / 60;
int s = S % 3600 % 60;
System.out.println(h + ":" + m + ":" +... | [["-", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491], ["+", 3, 4, 0, 16, 31, 16, 12, 5, 0, 491]] | 3 | 100 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
System.out.print(S / 3600);
System.out.print(":");
System.out.println(S % 3600 / 60);
System.out.print(":");
System.out.println(S / 3600 ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int S = scan.nextInt();
System.out.print(S / 3600);
System.out.print(":");
System.out.print(S % 3600 / 60);
System.out.print(":");
System.out.println(S % 3600 %... | [["-", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["+", 0, 195, 8, 196, 0, 1, 0, 492, 141, 22], ["-", 0, 492, 3, 4, 0, 16, 31, 16, 17, 85], ["+", 0, 492, 3, 4, 0, 16, 31, 16, 17, 109]] | 3 | 103 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int s = scanner.nextInt();
System.out.println(s / 3600 + ":" + (s / 33600) % 60 + ":" + s % 60);
}
}
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int s = scanner.nextInt();
System.out.println(s / 3600 + ":" + (s / 60) % 60 + ":" + s % 60);
}
}
| [["-", 31, 16, 12, 16, 31, 23, 0, 16, 12, 499], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 12, 499]] | 3 | 75 |
print((eval(eval(input()))**3)) | print((int(eval(input()))**3)) | [["-", 3, 4, 0, 23, 0, 657, 31, 652, 63, 22], ["+", 3, 4, 0, 23, 0, 657, 31, 652, 63, 22]] | 5 | 16 |
v=input()
v=int(v)
print(v**i) | v=input()
v=int(v)
print(v**3) | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 12, 22], ["+", 0, 1, 0, 652, 3, 4, 0, 657, 12, 612]] | 5 | 17 |
val = int(input())
print((val ** 2)) |
val = int(input())
print((val ** 3)) | [["-", 0, 652, 3, 4, 0, 23, 0, 657, 12, 612], ["+", 0, 652, 3, 4, 0, 23, 0, 657, 12, 612]] | 5 | 16 |
import sys
x = sys.stdin.read()
print(x**3) | import sys
x = sys.stdin.read()
print(int(x)**3) | [["+", 0, 652, 3, 4, 0, 657, 31, 652, 63, 22], ["+", 3, 4, 0, 657, 31, 652, 3, 4, 0, 24], ["+", 3, 4, 0, 657, 31, 652, 3, 4, 0, 25]] | 5 | 17 |
import sys
x = sys.stdin.readline()
print((x**3)) | import sys
x = sys.stdin.readline()
print((int(x)**3)) | [["+", 3, 4, 0, 23, 0, 657, 31, 652, 63, 22], ["+", 0, 23, 0, 657, 31, 652, 3, 4, 0, 24], ["+", 0, 23, 0, 657, 31, 652, 3, 4, 0, 25]] | 5 | 19 |
x = row_input()
x = int(x)
print(x * x * x) | x = input()
x = int(x)
print(x*x*x) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 19 |
input_line = eval(input())
input_line_cubic = input_line ** 3
print(input_line_cubic + "\n") | input_line = eval(input())
input_line_cubic = input_line ** 3
print(input_line_cubic) | [["-", 0, 1, 0, 652, 3, 4, 0, 657, 17, 72], ["-", 0, 652, 3, 4, 0, 657, 12, 557, 0, 654], ["-", 3, 4, 0, 657, 12, 557, 0, 6, 0, 44], ["-", 0, 652, 3, 4, 0, 657, 12, 557, 0, 655]] | 5 | 21 |
x = raw_input()
print(str(int(x) ** 3)) | x = input()
print((int(x) ** 3)) | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 652, 3, 4, 0, 652, 63, 22]] | 5 | 17 |
int=eval(input())
int=int^3
print(int) | int=eval(input())
int=int**3
print(int) | [["-", 0, 656, 0, 1, 0, 662, 12, 657, 17, 140], ["+", 0, 656, 0, 1, 0, 662, 12, 657, 17, 578]] | 5 | 17 |
#include <stdio.h>
int main() {
int s;
scanf("%d", &s);
printf("%d:%d:%d", s / 3600, s / 60, s % 60);
return 0;
}
| #include <stdio.h>
int main() {
int s;
scanf("%d", &s);
printf("%d:%d:%d\n", s / 3600, (s % 3600) / 60, s % 60);
return 0;
}
| [["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 17, 109], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25]] | 0 | 43 |
#include <stdio.h>
int main(void) {
int n, m;
scanf("%d %d", &n, &m);
printf("%d %d,%d\n", n / 3600, n % 3600 / 60, n % 60);
return 0; // Your code here!
}
| #include <stdio.h>
int main(void) {
int n, m;
scanf("%d %d", &n, &m);
printf("%d:%d:%d\n", n / 3600, n % 3600 / 60, n % 60);
return 0; // Your code here!
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 53 |
#include <stdio.h>
int main() {
int a, h, m, s;
scanf("%d", &a);
h = a / 3600;
m = (a % 3600) / 60;
s = m % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main() {
int a, h, m, s;
scanf("%d", &a);
h = a / 3600;
m = (a % 3600) / 60;
s = a % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22]] | 0 | 66 |
#include <stdio.h>
#define MIN 0
#define MAX 86399
int main(void) {
int S, h, m, s;
scanf("%d", &S);
if (S < MIN || S > MAX) {
return -1;
}
s = S % 60;
m = S / 60;
h = S / 3600;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| #include <stdio.h>
#define MIN 0
#define MAX 86399
int main(void) {
int S, h, m, s;
scanf("%d", &S);
if (S < MIN || S > MAX) {
return -1;
}
s = S % 60;
m = S / 60 % 60;
h = S / 60 / 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]] | 0 | 84 |
#include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
printf("h:%d m:%d s:%d\n", S / 3600, S % 3600 / 60, S % 3600 % 60);
return 0;
}
| #include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 3600 % 60);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 54 |
#include <stdio.h>
int main(void)
{
int h, m, s, d;
scanf("%d", &d);
h = d / 3600;
m = d % 3600 / 60;
s = d % 3600 % 60;
printf("%d/%d/%d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main(void)
{
int h, m, s, d;
scanf("%d", &d);
h = d / 3600;
m = d % 3600 / 60;
s = d % 3600 % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 67 |
#include <stdio.h>
int main(void) {
int S;
int h, m, s;
scanf("%d", &S);
if (S < 86400) {
if (S > 60) {
h = S / 3600;
m = (S - h * 3600) / 60;
s = S - h * 3600 - m * 60;
printf("%d:%d:%d\n", h, m, s);
}
}
return 0;
}
| #include <stdio.h>
int main(void) {
int S;
int h, m, s;
scanf("%d", &S);
if (S >= 0) {
if (S < 86400) {
h = S / 3600;
m = (S - h * 3600) / 60;
s = S - h * 3600 - m * 60;
printf("%d:%d:%d\n", h, m, s);
}
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["-", 8, 9, 0, 57, 15, 23, 0, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 12, 13], ["-", 64, 9, 0, 57, 15, 23, 0, 16, 17, 47], ["-", 64, 9, 0, 57, 15, 23, 0, 16, 12, 13], ["+", 64, 9, 0, 57, 15, 23, 0, 16, 17, 18], ["+", 64, 9, 0,... | 0 | 92 |
#include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S / 3600 / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S % 3600 / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 85], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 109]] | 0 | 64 |
#include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d\n", &S);
printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 3600 % 60 / 60);
return 0;
}
| #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d\n", &S);
printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 60);
return 0;
}
| [["-", 3, 4, 0, 16, 31, 16, 31, 16, 12, 13], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 17, 109], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85]] | 0 | 58 |
#include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d\n", &S);
h = S / 3600;
m = S % 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d\n", &S);
h = S / 3600;
m = S % 3600 / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]] | 0 | 63 |
#include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
printf("%d;%d;%d\n", h = S / 3600, S % 3600 / 60, S % 60);
return 0;
}
| #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
printf("%d:%d:%d\n", h = S / 3600, S % 3600 / 60, S % 60);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 55 |
#include <stdio.h>
int main() {
int x;
int y;
int z;
scanf("%d", &x);
y = x / 60;
z = x % 60;
printf("%d:%d:%d\n", y, z / 60, z % 60);
return 0;
}
| #include <stdio.h>
int main() {
int x;
int y;
int z;
scanf("%d", &x);
y = x / 3600;
z = x % 3600;
printf("%d:%d:%d\n", y, z / 60, z % 60);
return 0;
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 0 | 60 |
#include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S / 3600) % 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 85], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 109], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]] | 0 | 67 |
#include <stdio.h>
int main() {
long S;
scanf("%ld", &S);
long w = S;
int h = (int)(w / 60 * 60);
w = w % (60 * 60);
int m = (int)(w / 60);
w = w % 60;
int s = (int)w;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main() {
long S;
scanf("%ld", &S);
long w = S;
int h = (int)(w / (60 * 60));
w = w % (60 * 60);
int m = (int)(w / 60);
w = w % 60;
int s = (int)w;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["+", 51, 74, 51, 23, 0, 16, 12, 23, 0, 24], ["+", 51, 74, 51, 23, 0, 16, 12, 23, 0, 25]] | 0 | 93 |
#include <stdio.h>
int main() {
int num;
scanf("%d", &num);
printf("%d:%d;\n", num / 3600, num / 60, num % 60);
return 0;
} | #include <stdio.h>
int main() {
int num;
scanf("%d", &num);
printf("%d:%d:%d\n", num / 3600, num % 3600 / 60, num % 60);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 109], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13]] | 0 | 44 |
#include <stdio.h>
int main(void) {
int res, h, m, s;
scanf("%d", &res);
h = res / 3600;
m = res - (h * 3600);
s = res - (h * 3600 + m * 60);
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int res, h, m, s;
scanf("%d", &res);
h = res / 3600;
m = (res - h * 3600) / 60;
s = res - (h * 3600 + m * 60);
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["-", 0, 1, 0, 11, 12, 16, 12, 23, 0, 24], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 0 | 75 |
#include <stdio.h>
int main() {
int S, s, m, h;
scanf("%d", &S);
h = S / 3600;
m = S % 60 / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main() {
int S, s, m, h;
scanf("%d", &S);
h = S / 3600;
m = S / 60 % 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 11, 12, 16, 31, 16, 17, 109], ["-", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109]] | 0 | 64 |
#include <stdio.h>
int main(void) {
unsigned int time, h = 0, m = 0, s = 0;
scanf("%u", &time);
h = time / 3600;
m = (time - (h * 3600)) % 60;
s = time % 60;
printf("%u:%u:%u\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
unsigned int time, h = 0, m = 0, s = 0;
scanf("%u", &time);
h = time / 3600;
m = (time / 60) % 60;
s = time % 60;
printf("%u:%u:%u\n", h, m, s);
return 0;
} | [["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 33], ["-", 12, 16, 31, 23, 0, 16, 12, 23, 0, 24], ["-", 31, 23, 0, 16, 12, 23, 0, 16, 31, 22], ["-", 31, 23, 0, 16, 12, 23, 0, 16, 17, 48], ["-", 31, 23, 0, 16, 12, 23, 0, 16, 12, 13], ["-", 12, 16, 31, 23, 0, 16, 12, 23, 0, 25], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 85], ["+"... | 0 | 78 |
#include <stdio.h>
int main(void) {
long s;
long hh, mm, ss;
scanf("%ld", &s);
hh = s % 3600;
mm = (s - 3600 * hh) % 60;
ss = s - 3600 * hh - 60 * mm;
printf("%ld:%ld:%ld\n", hh, mm, ss);
return 0;
} | #include <stdio.h>
int main(void) {
long s;
long hh, mm, ss;
scanf("%ld", &s);
hh = s / 3600;
mm = (s - 3600 * hh) / 60;
ss = s - 3600 * hh - 60 * mm;
printf("%ld:%ld:%ld\n", hh, mm, ss);
getchar();
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 25], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35], ["+", 0, 14, 8, 9, 0, 1, 0, 2, 63, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 24]] | 0 | 76 |
#include <stdio.h>
#include <stdlib.h>
int main(int ac, char **av) {
int secs = 0;
fscanf(stdin, "%d\n", &secs);
int sec = secs % 60;
int mins = secs / 60;
int hours = mins / 60;
int minutes = mins - hours * 60;
fprintf(stdout, "%02d:%02d:%02d\n", hours, minutes, sec);
return 0;
} | #include <stdio.h>
#include <stdlib.h>
int main(int ac, char **av) {
int secs = 0;
fscanf(stdin, "%d\n", &secs);
int sec = secs % 60;
int mins = secs / 60;
int hours = mins / 60;
int minutes = mins - hours * 60;
fprintf(stdout, "%d:%d:%d\n", hours, minutes, sec);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 84 |
#include <stdio.h>
int main(void) {
int s, h = 3600, m = 60;
scanf("%d", s);
printf("%d:%d:%d", s / h, s % h / m, s % h % m);
return 0;
} | #include <stdio.h>
int main(void) {
int s, h = 3600, m = 60;
scanf("%d", &s);
printf("%d:%d:%d\n", s / h, s % h / m, s % h % m);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 55 |
#include <stdio.h>
int main(void) {
int h, m, s, S;
scanf("%d", &S);
h = S / 1440;
m = S / 60 - h * 24;
s = S % 60;
printf("%d:%d:%d", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int h, m, s, S;
scanf("%d", &S);
h = S / 3600;
m = S / 60 - h * 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 0, 1, 0, 11, 12, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 66 |
#include <stdio.h>
int main(void) {
int S, s, m, h;
scanf("%d", &S);
s = S % 60;
m = (S / 60) % 60;
h = (S / 3600) % 24;
printf("%d:%d:%d/n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S;
int s, m, h;
scanf("%d", &S);
s = S % 60;
m = (S / 60) % 60;
h = (S / 3600) % 24;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 43, 0, 21], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 70 |
#include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d", &a);
b = a / 3600;
c = a % 3600 / 60;
d = a % 3600 % 60;
printf("%d %d %d\n", b, c, d);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c, d;
scanf("%d", &a);
b = a / 3600;
c = a % 3600 / 60;
d = a % 3600 % 60;
printf("%d:%d:%d\n", b, c, d);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 66 |
int main() {
int t, h, m, s;
scanf("%d", &t);
h = t / 3600;
m = (t % 3600) / 60;
s = t - h - m;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | int main() {
int t, h, m, s;
scanf("%d\n", &t);
h = t / 3600;
m = (t % 3600) / 60;
s = t - h * 3600 - m * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 11, 12, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 11, 12, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 12, 13]] | 0 | 66 |
#include <stdio.h>
main(void)
{
int S;
scanf("%d", &S);
int h, m, s;
h = 0;
m = 0;
s = S;
if (s >= 59) {
m += s / 60;
s %= s / 60;
}
if (m >= 59) {
h += m / 60;
m %= 60;
;
}
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
main(void)
{
int S;
scanf("%d", &S);
int h, m, s;
h = 0;
m = 0;
s = S;
if (s >= 59) {
m += s / 60;
s %= 60;
}
if (m >= 59) {
h += m / 60;
m %= 60;
}
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 64, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["-", 64, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["-", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35]] | 0 | 96 |
#include <stdio.h>
int main(void) {
int S, s, h, m;
scanf("%d", &S);
h = 0;
s = S;
m = 0;
if (S >= 60) {
s = S % 60;
S = S - s;
S = S / 60;
}
if (S >= 60) {
m = S % 60;
S = S - m;
h = S / 60;
}
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S, s, h, m;
scanf("%d", &S);
h = 0;
s = S;
m = 0;
if (s >= 60) {
s = S % 60;
S = S - s;
m = S / 60;
S = m;
}
if (S >= 60) {
m = S % 60;
S = S - m;
h = S / 60;
}
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 31, 22], ["-", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 31, 22], ["+", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 57, 64, 9, 0, 1, 0, 11, 12, 22]] | 0 | 109 |
#include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S - (h * 3600)) / 60;
s = S - (h * S + m * 60);
printf("%d:%d:%d", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S - (3600 * h)) / 60;
s = S - (h * 3600 + m * 60);
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 31, 23, 0, 16, 12, 23, 0, 16, 31, 22], ["-", 31, 23, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 17, 48], ["+", 31, 23, 0, 16, 12, 23, 0, 16, 12, 22], ["-", 12, 16, 12, 23, 0, 16, 31, 16, 12, 22], ["+", 12, 16, 12, 23, 0, 16, 31, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 78 |
#include <stdio.h>
int main(void) {
int t;
int h, m, s;
scanf("%d", &t);
h = t / 3600;
m = (t - 3600) / 60;
s = t % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int t;
int h, m, s;
scanf("%d", &t);
h = t / 3600;
m = (t - 3600 * h) / 60;
s = t % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["+", 12, 16, 31, 23, 0, 16, 12, 16, 17, 48], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 12, 22]] | 0 | 68 |
int main(void) {
int h, m, s;
scanf("%d", &s);
m = s / 60;
s = s % 60;
h = m / 24;
m = m % 24;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | int main(void) {
int h, m, s;
scanf("%d", &s);
m = s / 60;
s = s % 60;
h = m / 60;
m = m % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 0 | 65 |
#include <stdio.h>
int main(void) {
int S;
int h;
int m;
int s;
scanf("%d", &S);
h = S / 3600;
m = (S - 3600 * h) / 60;
s = S % 60;
printf("%d:%d:%d?\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S;
int h;
int m;
int s;
scanf("%d", &S);
h = S / 3600;
m = (S - 3600 * h) / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 72 |
#include <math.h>
#include <stdio.h>
int main() {
double w, h, m, s;
scanf("%d", &w);
h = floor(w / 3600);
m = floor((w - 3600 * h) / 60);
s = w - h * 3600 - m * 60;
printf("%d:%d%d\n", (int)h, (int)m, (int)s);
return 0;
} | #include <math.h>
#include <stdio.h>
int main() {
double w, h, m, s;
scanf("%lf", &w);
h = floor(w / 3600);
m = floor((w - 3600 * h) / 60);
s = w - h * 3600 - m * 60;
printf("%d:%d:%d\n", (int)h, (int)m, (int)s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 91 |
int main(void) {
int S;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, S % 3600, S % 60);
return 0;
} | int main(void) {
int S;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, (S / 60) % 60, S % 60);
return 0;
} | [["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 24], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 17, 85], ["+", 3, 4, 0, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 23, 0, 25], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 43 |
#include <stdio.h>
int main() {
int sec, min, hour, time;
scanf("%d", &time);
sec = time % 3600;
min = (time / 60) % 60;
hour = time / 3600;
printf("%d:%d:%d\n", hour, min, sec);
return 0;
} | #include <stdio.h>
int main() {
int sec, min, hour, time;
scanf("%d", &time);
sec = time % 60;
min = (time / 60) % 60;
hour = time / 3600;
printf("%d:%d:%d\n", hour, min, sec);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13]] | 0 | 66 |
#include <stdio.h>
int main(int argc, const char *argv[]) {
int hh;
int mm;
int ss;
scanf("%d", &ss);
hh = ss / 3600;
ss -= hh * 3600;
mm = ss / 60;
ss -= mm * 60;
printf("%d:%d;%d\n", hh, mm, ss);
return 0;
} | #include <stdio.h>
int main(int argc, const char *argv[]) {
int hh;
int mm;
int ss;
scanf("%d", &ss);
hh = ss / 3600;
ss -= hh * 3600;
mm = ss / 60;
ss -= mm * 60;
printf("%d:%d:%d\n", hh, mm, ss);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 77 |
#include <stdio.h>
int main(void) {
int s, m, h;
scanf("%d", &s);
h = s / 3600;
m = (s % 3600) / 60;
s = s - h * 3600 - m * 60;
printf("&d:%d:%d", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int s, m, h;
scanf("%d", &s);
h = s / 3600;
m = (s % 3600) / 60;
s = s - h * 3600 - m * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 70 |
#include <stdio.h>
int main(void) {
int sec;
int min;
int hour;
sec = 0;
min = 0;
hour = 0;
scanf("%d", &sec);
if (sec >= 60) {
min = sec / 60;
sec = sec % 60;
}
if (min >= 60) {
hour = min % 60;
min = min % 60;
}
printf("%d:%d:%d\n", hour, min, sec);
return 0;
} | #include <stdio.h>
int main(void) {
int sec;
int min;
int hour;
sec = 0;
min = 0;
hour = 0;
scanf("%d", &sec);
if (sec >= 60) {
min = sec / 60;
sec = sec % 60;
}
if (min >= 60) {
hour = min / 60;
min = min % 60;
}
printf("%d:%d:%d\n", hour, min, sec);
return 0;
} | [["-", 64, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 64, 9, 0, 1, 0, 11, 12, 16, 17, 85]] | 0 | 97 |
#include <stdio.h>
int main(void) {
int S;
int h;
int m;
int s;
scanf("%d", &S);
h = S / (60 * 60);
m = (S - h * 60) / 60;
s = S - h * 60 * 60 - m * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S;
int h;
int m;
int s;
scanf("%d", &S);
h = S / (60 * 60);
m = (S - h * 60 * 60) / 60;
s = S - h * 60 * 60 - m * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["+", 12, 16, 31, 23, 0, 16, 12, 16, 17, 48], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 12, 13]] | 0 | 84 |
#include <stdio.h>
int main(void) {
int a;
scanf("%d", &a);
printf("%d:%d:%d\n", a / 3600, a % 3600 / 60, a / 3600 % 60 % 60);
return 0;
} | #include <stdio.h>
int main(void) {
int a;
scanf("%d", &a);
printf("%d:%d:%d\n", a / 3600, a % 3600 / 60, a % 3600 % 60);
return 0;
} | [["-", 3, 4, 0, 16, 31, 16, 31, 16, 17, 85], ["-", 3, 4, 0, 16, 31, 16, 31, 16, 12, 13], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13]] | 0 | 51 |
#include <stdio.h>
int main(void) {
int S;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, S % 3600, S % 60);
return 0;
} | #include <stdio.h>
int main(void) {
int S;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, S / 60 % 60, S % 60);
return 0;
} | [["+", 0, 2, 3, 4, 0, 16, 31, 16, 17, 85], ["+", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 45 |
#include <stdio.h>
int main() {
int S = 0;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 3600 % 60 / 60);
return 0;
} | #include <stdio.h>
int main() {
int S;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, S % 3600 / 60, S % 3600 % 60);
return 0;
} | [["-", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["-", 0, 2, 3, 4, 0, 16, 31, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85]] | 0 | 52 |
#include <stdio.h>
int main(void) {
int t, h, m;
int a;
scanf("%d", &t);
h = t / 3600;
t = t - h * 60;
m = t / 60;
t = t - m * 60;
printf("%d:%d:%d\n", h, m, t);
return 0;
} | #include <stdio.h>
int main(void) {
int t, h, m;
int a;
scanf("%d", &t);
h = t / 3600;
t = t - h * 3600;
m = t / 60;
t = t - m * 60;
printf("%d:%d:%d\n", h, m, t);
return 0;
} | [["-", 0, 1, 0, 11, 12, 16, 12, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 12, 13]] | 0 | 74 |
#include <stdio.h>
int main() {
int a, b, c;
int x;
scanf("%d", &x);
a = x / 3600;
b = (x - 3600 * a) / 60;
c = x - a - b;
printf("%d:%d:%d\n", a, b, c);
return 0;
} | #include <stdio.h>
int main() {
int a, b, c;
int x;
scanf("%d", &x);
a = x / 3600;
b = (x - 3600 * a) / 60;
c = x - 3600 * a - b * 60;
printf("%d:%d:%d\n", a, b, c);
return 0;
} | [["+", 0, 11, 12, 16, 31, 16, 12, 16, 31, 13], ["+", 0, 11, 12, 16, 31, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 17, 48], ["+", 0, 1, 0, 11, 12, 16, 12, 16, 12, 13]] | 0 | 71 |
#include <stdio.h>
int main(int argc, char **argv) {
int n;
scanf("%d", &n);
printf("%d:%d:\n", n / 3600, (n / 60) % 60, n % 60);
return 0;
} | #include <stdio.h>
int main(int argc, char **argv) {
int n;
scanf("%d", &n);
printf("%d:%d:%d\n", n / 3600, (n / 60) % 60, n % 60);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 55 |
#include <stdio.h>
int main(void) {
int S = 0;
scanf("%d", &S);
printf("%d\n", S / 3600); //?????????
printf(":%d\n", S % 3600 / 60); // ???
printf(":%d\n", S % 3600 % 60); // ?§???°
return 0;
} | #include <stdio.h>
int main(void) {
int S = 0;
scanf("%d", &S);
printf("%d", S / 3600); //?????????
printf(":%d", S % 3600 / 60); // ???
printf(":%d\n", S % 3600 % 60); // ?§???°
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 70 |
#include <stdio.h>
int main() {
int s;
int m;
int h;
scanf("%d", &s);
m = s / 60;
s = s % 60;
h = m / 60;
m = m % 60;
printf("%d: %d: %d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main() {
int s;
int m;
int h;
scanf("%d", &s);
m = s / 60;
s = s % 60;
h = m / 60;
m = m % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 68 |
#include <stdio.h>
int main() {
int sa;
scanf("%d", &sa);
int sb = sa % 60;
int m = (sa - sb) % 3600;
int h = (sa - m * 60) / 3600;
printf("%d:%d:%d", h, m, sb);
return 0;
} | #include <stdio.h>
int main() {
int sa;
scanf("%d", &sa);
int sb = sa % 60;
int m = ((sa - sb) % 3600) / 60;
int h = (sa - m * 60) / 3600;
printf("%d:%d:%d\n", h, m, sb);
return 0;
} | [["+", 51, 16, 31, 23, 0, 16, 31, 23, 0, 24], ["+", 0, 43, 49, 50, 51, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 17, 85], ["+", 8, 9, 0, 43, 49, 50, 51, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 68 |
#include <stdio.h>
int main(void) {
int s;
int h;
int m;
scanf("%d", &s);
h = s / 3600;
m = s / 60;
s = s % 60;
printf("%d:%d:%d", h, m, s);
return (0);
} | #include <stdio.h>
int main(void) {
int s;
int h;
int m;
scanf("%d", &s);
h = s / 3600;
m = (s / 60) % 60;
s = s % 60;
printf("%d:%d:%d\n", h, m, s);
return (0);
} | [["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 64 |
int main(int argc, char *argv[]) {
long S;
long h;
long m;
long s;
scanf("%ld\n", &S);
h = S / (60 * 60);
m = S % (60 * 60);
s = m % 60;
m = m / 60;
printf("%d:%d:%d:\n", h, m, s);
return 0;
} | int main(int argc, char *argv[]) {
long S;
long h;
long m;
long s;
scanf("%ld\n", &S);
h = S / (60 * 60);
m = S % (60 * 60);
s = m % 60;
m = m / 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 86 |
#include <stdio.h>
int main(void) {
int S;
scanf("%d", &S);
int h = S / 3600;
int m = S % 3600 / 60;
int s = m % 60;
if (S >= 0 && S < 86400) {
printf("%d:%d:%d\n", h, m, s);
} else {
printf("0???86400????????§??\???\n");
}
return 0;
} | #include <stdio.h>
int main(void) {
int S;
scanf("%d", &S);
int h = S / 3600;
int m = S % 3600 / 60;
int s = S % 3600 % 60;
if (S >= 0 && S < 86400) {
printf("%d:%d:%d\n", h, m, s);
} else {
printf("0???86400????????§??\???\n");
}
return 0;
} | [["-", 8, 9, 0, 43, 49, 50, 51, 16, 31, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 31, 22], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 109], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 12, 13]] | 0 | 87 |
#include <math.h>
#include <stdio.h>
int main() {
int h, m, s, ss;
scanf("%d", ss);
s = ss % 60;
m = ((ss - s) / 60) % 60;
h = (ss - s - m * 60) / 60;
printf("%d\:%d\:%d\n", h, m, s);
return 0;
}; | #include <math.h>
#include <stdio.h>
int main() {
int h, m, s, ss;
scanf("%d", &ss);
s = ss % 60;
m = ((ss - s) / 60) % 60;
h = (ss - s - m * 60) / 3600;
printf("%d:%d:%d\n", h, m, s);
return 0;
}; | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 84 |
#include <stdio.h>
int main(void) {
int s, hh, mm, ss;
scanf("%d", &s);
hh = s / 3600;
mm = (s % 3600) / 60;
mm = (s % 3600) % 60;
printf("%d:%d:%d\n", hh, mm, ss);
return 0;
} | #include <stdio.h>
int main(void) {
int s, hh, mm, ss;
scanf("%d", &s);
hh = s / 3600;
mm = (s % 3600) / 60;
ss = (s % 3600) % 60;
printf("%d:%d:%d\n", hh, mm, ss);
return 0;
} | [["-", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 31, 22]] | 0 | 71 |
#include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / (60 * 60);
m = S / 60 % 60;
s = S % 60;
printf("%d:%d;%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / (60 * 60);
m = S / 60 % 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 69 |
#include <stdio.h>
int main() {
int h = 0, m = 0, s = 0;
scanf("%d", &s);
if (s >= 60 * 60) {
h = s / 60 / 60;
s = s % (60 * 60);
}
if (s >= 60) {
m = s / 60;
s = s % 60;
}
printf("%d:%d:%d\n", s);
return 0;
} | #include <stdio.h>
int main() {
int h = 0, m = 0, s = 0;
scanf("%d", &s);
if (s >= 60 * 60) {
h = s / 60 / 60;
s = s % (60 * 60);
}
if (s >= 60) {
m = s / 60;
s = s % 60;
}
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21]] | 0 | 92 |
#include <stdio.h>
int main(void) {
char str[10];
int second;
fgets(str, sizeof(str), stdin);
sscanf(str, "%d", &second);
printf("%dhour", second / 3600);
printf("%dminute", second % 3600 / 60);
printf("%dsecond", second % 60);
printf("\n");
return 0;
} | #include <stdio.h>
int main(void) {
char str[10];
int second;
fgets(str, sizeof(str), stdin);
sscanf(str, "%d", &second);
printf("%d:", second / 3600);
printf("%d:", second % 3600 / 60);
printf("%d", second % 60);
printf("\n");
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 87 |
#include <stdio.h>
int main(void) {
int s;
scanf("%d", &s);
printf("%d:%d:%d", s / 3600, s / 60 % 12, s % 60);
return 0;
} | #include <stdio.h>
int main(void) {
int s;
scanf("%d", &s);
printf("%d:%d:%d\n", s / 3600, s / 60 % 60, s % 60);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 46 |
#include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S - h) / 60;
s = (S - h) % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S - h * 3600) / 60;
s = (S - m * 60) % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["+", 12, 16, 31, 23, 0, 16, 12, 16, 17, 48], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 12, 13], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 22], ["+", 12, 16, 31, 23, 0, 16, 12, 16, 31, 22]] | 0 | 71 |
#include <stdio.h>
int main() {
int input = 0;
int hour = 0;
int minute = 0;
int second = 0;
scanf("%d", &input);
hour = input / 3600;
minute = (input - hour * 3600) / 60;
second = input = hour * 3600 - minute * 60;
printf("%d:%d:%d\n", hour, minute, second);
return 0;
} | #include <stdio.h>
int main() {
int input = 0;
int hour = 0;
int minute = 0;
int second = 0;
scanf("%d", &input);
hour = input / 3600;
minute = (input - hour * 3600) / 60;
second = input - hour * 3600 - minute * 60;
printf("%d:%d:%d\n", hour, minute, second);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 11, 17, 32], ["+", 0, 1, 0, 11, 12, 16, 31, 16, 17, 33]] | 0 | 85 |
#include <stdio.h>
int main() {
int S;
scanf("%d", &S);
printf("%d:%d:%d", (int)S / 3600, (int)(S % 3600) * 60, (int)S % 60);
return 0;
} | #include <stdio.h>
int main() {
int S;
scanf("%d", &S);
printf("%d:%d:%d\n", (int)S / 3600, (int)(S % 3600) / 60, (int)S % 60);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 17, 48], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 17, 85]] | 0 | 56 |
#include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) / 60;
s = (S % 3600 % 60);
printf("%d=%d:%d:%d\n", S, h, m, s);
return 0;
} | #include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) / 60;
s = (S % 3600 % 60);
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 72 |
#include <stdio.h>
int main() {
int x;
scanf("%d", &x);
int sec = x % 60;
int min = (x / 60) % 60;
int hour = x / 60 / 60;
printf("%d:%d:%d\n", sec, min, hour);
return 0;
} | #include <stdio.h>
int main() {
int x;
scanf("%d", &x);
int sec = x % 60;
int min = (x / 60) % 60;
int hour = x / 60 / 60;
printf("%d:%d:%d\n", hour, min, sec);
return 0;
} | [["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]] | 0 | 65 |
#include <stdio.h>
main(void) {
long x;
scanf("%d", &x);
printf("%d:%d:%d\n", x / 3600, (x % 3600) / 60, x % 3600);
return 0;
} |
#include <stdio.h>
main(void) {
long x;
scanf("%d", &x);
printf("%d:%d:%d\n", x / 3600, (x % 3600) / 60, x % 60);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 48 |
#include <stdio.h>
main(void) {
long x;
scanf("%d", x);
printf("%d:%d:%d\n", x / 3600, (x % 3600) / 60, x % 3600);
return 0;
} | #include <stdio.h>
main(void) {
long x;
scanf("%d", &x);
printf("%d:%d:%d\n", x / 3600, (x % 3600) / 60, x % 60);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67], ["-", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 16, 12, 13]] | 0 | 47 |
#include <stdio.h>
int main(void) {
int S;
int h;
int m;
int s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) % 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S;
int h;
int m;
int s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) / 60;
s = S % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85]] | 0 | 70 |
#include <stdio.h>
int main(void) {
int a = 0, b = 0, c, i;
scanf("%d", &c);
for (i = 0; i < 24; i++) {
if (c >= 3600) {
c -= 3600;
a += 1;
}
}
for (i = 0; i < 6; i++) {
if (c >= 60) {
c -= 60;
b += 1;
}
}
printf("%d:%d:%d\n", a, b, c);
return 0;
} | #include <stdio.h>
int main(void) {
int a = 0, b = 0, c, i;
scanf("%d", &c);
for (i = 0; i < 24; i++) {
if (c >= 3600) {
c -= 3600;
a += 1;
}
}
for (i = 0; i < 60; i++) {
if (c >= 60) {
c -= 60;
b += 1;
}
}
printf("%d:%d:%d\n", a, b, c);
return 0;
} | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13]] | 0 | 111 |
#include <stdio.h>
int main(void) {
int s, m, h;
scanf("%d", &s);
h = s / 3600;
m = (s - h * 3600) / 60;
s = s % 60;
printf("%d %d %d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int s, m, h;
scanf("%d", &s);
h = s / 3600;
m = (s - h * 3600) / 60;
s = s % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 67 |
#include <stdio.h>
int main(void) {
int S;
int h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S - h * 3600) / 60;
s = S - h * 3600 - m * 60;
printf("%d:%d:%d:\n", h, m, s);
return 0;
} | #include <stdio.h>
int main(void) {
int S;
int h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S - h * 3600) / 60;
s = S - h * 3600 - m * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 76 |
#include <stdio.h>
int main() {
int a, b, c, d, S;
scanf("%d", S);
a = S / 3600;
S %= 3600;
b = S / 60;
S %= 60;
c = S;
printf("%d:%d:%d\n", a, b, c);
return 0;
} |
#include <stdio.h>
int main() {
int a, b, c, d, S;
scanf("%d", &S);
a = S / 3600;
S %= 3600;
b = S / 60;
S %= 60;
c = S;
printf("%d:%d:%d\n", a, b, c);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 69 |
#include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", S);
h = S / 3600;
m = S / 60 - h * 60;
s = S - h * 3600 - m * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | #include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = S / 60 - h * 60;
s = S - h * 3600 - m * 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 0 | 71 |
#include <stdio.h>
/*---?§????????????????S???h:m:s?????¢????????????????????¨?????????---*/
void time(int S) {
int h, m, s;
s = S % 60;
h = S / 3600;
m = (S - h) / 60;
printf("%d:%d:%d\n", h, m, s);
}
int main(void) {
int num;
scanf("%d", &num);
time(num);
return 0;
} | #include <stdio.h>
/*---?§????????????????S???h:m:s?????¢????????????????????¨?????????---*/
void time(int S) {
int h, m, s;
s = S % 60;
h = S / 3600;
m = (S % 3600) / 60;
printf("%d:%d:%d\n", h, m, s);
}
int main(void) {
int num;
scanf("%d", &num);
time(num);
return 0;
} | [["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 33], ["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 22], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 109], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13]] | 0 | 82 |
int main(void) {
int a, b, c, d;
scanf("%d", &a);
b = a / 3600;
c = (a % 3600) / 60;
d = (a / 3600) % 60;
printf("%d:%d:%d\n", b, c, d);
return 0;
}
| int main(void) {
int a, b, c, d;
scanf("%d", &a);
b = a / 3600;
c = (a % 3600) / 60;
d = (a % 3600) % 60;
printf("%d:%d:%d\n", b, c, d);
return 0;
}
| [["-", 0, 11, 12, 16, 31, 23, 0, 16, 17, 85], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 17, 109]] | 0 | 69 |
#include <stdio.h>
int main(void) {
int S;
scanf("%d", &S);
printf("%d", S / 3600);
printf(";");
printf("%d", (S % 3600) / 60);
printf(";");
printf("%d\n", (S % 3600) % 60);
return 0;
}
| #include <stdio.h>
int main(void) {
int S;
scanf("%d", &S);
printf("%d", S / 3600);
printf(":");
printf("%d", (S % 3600) / 60);
printf(":");
printf("%d\n", (S % 3600) % 60);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 81 |
#include <stdbool.h>
#include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) / 60;
s = S - (3600 * h) - (60 * m);
printf("%d:%d:%d/n", h, m, s);
return 0;
}
| #include <stdbool.h>
#include <stdio.h>
int main() {
int S, h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) / 60;
s = S - (3600 * h) - (60 * m);
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 77 |
#include <stdio.h>
#include <stdlib.h>
int main() {
int S = 0;
scanf("%d", &S);
printf("%02d:%02d:%02d\n", S / 3600, (S % 3600) / 60, (S % 3600) % 60);
return 0;
}
| #include <stdio.h>
#include <stdlib.h>
int main() {
int S = 0;
scanf("%d", &S);
printf("%d:%d:%d\n", S / 3600, (S % 3600) / 60, (S % 3600) % 60);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 56 |
#include <stdio.h>
int main() {
int x; //入力される秒数
int a, b, c; //時間
//入力
// printf("秒数を入力→ ");
scanf("%d", &x);
//処理
a = x / 3600;
b = x % 3600 / 60;
c = x % 3600 % 60;
//出力
printf("%d, %d, %d\n", a, b, c); // h, m, s
return 0;
}
| #include <stdio.h>
int main() {
int x; //入力される秒数
int a, b, c; //時間
//入力
// printf("秒数を入力→ ");
scanf("%d", &x);
//処理
a = x / 3600;
b = x % 3600 / 60;
c = x % 3600 % 60;
//出力
printf("%d:%d:%d\n", a, b, c); // h, m, s
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 74 |
#include <stdio.h>
int main(void) {
// Your code here!
int S;
int h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S % 60) / 60;
s = S % 60;
printf("%d:%d:%d", h, m, s);
return 0;
}
| #include <stdio.h>
int main(void) {
// Your code here!
int S;
int h, m, s;
scanf("%d", &S);
h = S / 3600;
m = (S % 3600) / 60;
s = (S % 3600) % 60;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 11, 12, 16, 31, 23, 0, 16, 12, 13], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 24], ["+", 0, 1, 0, 11, 12, 16, 31, 23, 0, 25], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 109], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]] | 0 | 68 |
#include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
s = S % 60;
m = S / 60 % 60;
h = S / 3600;
printf("%d: %d: %d\n", h, m, s);
return 0;
}
| #include <stdio.h>
int main(void) {
int S, h, m, s;
scanf("%d", &S);
s = S % 60;
m = S / 60 % 60;
h = S / 3600;
printf("%d:%d:%d\n", h, m, s);
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 65 |
#include <stdio.h>
int main(void) {
// Your code here!
int in;
int h, m, s;
scanf("%d", &in);
h = in / 86400;
in %= 86400;
m = in / 60;
in %= 60;
s = in;
printf("%d:%d:%d\n", h, m, s);
}
| #include <stdio.h>
int main(void) {
// Your code here!
int in;
int h, m, s;
scanf("%d", &in);
h = in / 3600;
in %= 3600;
m = in / 60;
in %= 60;
s = in;
printf("%d:%d:%d\n", h, m, s);
}
| [["-", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]] | 0 | 68 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.