Submission #53016348


Source Code Expand

#include <bits/stdc++.h>
using namespace std;
int main (){
		int a = 0, b = 0;
		for (int i = 1; i <= 9; i++){
			int x; cin >> x; a += x;
		}
		for (int i = 1; i <= 8; i++){
			int x; cin >> x; b += x;
		}
		cout << a - b + 1 << '\n';

	return 0;
}

Submission Info

Submission Time
Task A - The bottom of the ninth
User r4m1m
Language C++ 20 (gcc 12.2)
Score 100
Code Size 262 Byte
Status AC
Exec Time 1 ms
Memory 3672 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 12
Set Name Test Cases
Sample example_00.txt, example_01.txt
All example_00.txt, example_01.txt, hand_00.txt, hand_01.txt, hand_02.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt
Case Name Status Exec Time Memory
example_00.txt AC 1 ms 3484 KiB
example_01.txt AC 1 ms 3484 KiB
hand_00.txt AC 1 ms 3672 KiB
hand_01.txt AC 1 ms 3496 KiB
hand_02.txt AC 1 ms 3488 KiB
random_00.txt AC 1 ms 3516 KiB
random_01.txt AC 1 ms 3488 KiB
random_02.txt AC 1 ms 3548 KiB
random_03.txt AC 1 ms 3496 KiB
random_04.txt AC 1 ms 3544 KiB
random_05.txt AC 1 ms 3548 KiB
random_06.txt AC 1 ms 3448 KiB