Submission #61817493


Source Code Expand

Copy
#include<bits/stdc++.h>
#define inf long long
#define pii pair<int,int>
#define p1 first
#define p2 second
using namespace std;
const int maxn=1e5+5;
char a[maxn];
int main()
{
//freopen("c.in","r",stdin);
//freopen("c.out","w",stdout);
for(int i=1;i<=3;i++) cin>>a[i];
cout<<(a[1]-'0')*(a[3]-'0');
return 0;
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#include<bits/stdc++.h>
#define inf long long
#define pii pair<int,int>
#define p1 first
#define p2 second
using namespace std;
const int maxn=1e5+5;
char a[maxn]; 
int main()
{
	//freopen("c.in","r",stdin);
	//freopen("c.out","w",stdout);
	for(int i=1;i<=3;i++) cin>>a[i];
	cout<<(a[1]-'0')*(a[3]-'0');
	return 0;
}

Submission Info

Submission Time
Task A - 9x9
User sjc2
Language C++ 20 (gcc 12.2)
Score 100
Code Size 333 Byte
Status AC
Exec Time 1 ms
Memory 3668 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 2
AC × 26
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt
All 00_sample_00.txt, 00_sample_01.txt, 01_test_00.txt, 01_test_01.txt, 01_test_02.txt, 01_test_03.txt, 01_test_04.txt, 01_test_05.txt, 01_test_06.txt, 01_test_07.txt, 01_test_08.txt, 01_test_09.txt, 01_test_10.txt, 01_test_11.txt, 01_test_12.txt, 01_test_13.txt, 01_test_14.txt, 01_test_15.txt, 01_test_16.txt, 01_test_17.txt, 01_test_18.txt, 01_test_19.txt, 01_test_20.txt, 01_test_21.txt, 01_test_22.txt, 01_test_23.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 3524 KB
00_sample_01.txt AC 1 ms 3528 KB
01_test_00.txt AC 1 ms 3472 KB
01_test_01.txt AC 1 ms 3480 KB
01_test_02.txt AC 1 ms 3480 KB
01_test_03.txt AC 1 ms 3488 KB
01_test_04.txt AC 1 ms 3404 KB
01_test_05.txt AC 1 ms 3536 KB
01_test_06.txt AC 1 ms 3532 KB
01_test_07.txt AC 1 ms 3412 KB
01_test_08.txt AC 1 ms 3484 KB
01_test_09.txt AC 1 ms 3404 KB
01_test_10.txt AC 1 ms 3448 KB
01_test_11.txt AC 1 ms 3668 KB
01_test_12.txt AC 1 ms 3468 KB
01_test_13.txt AC 1 ms 3468 KB
01_test_14.txt AC 1 ms 3484 KB
01_test_15.txt AC 1 ms 3528 KB
01_test_16.txt AC 1 ms 3404 KB
01_test_17.txt AC 1 ms 3412 KB
01_test_18.txt AC 1 ms 3476 KB
01_test_19.txt AC 1 ms 3472 KB
01_test_20.txt AC 1 ms 3612 KB
01_test_21.txt AC 1 ms 3444 KB
01_test_22.txt AC 1 ms 3488 KB
01_test_23.txt AC 1 ms 3528 KB


2025-04-05 (Sat)
13:18:53 +00:00