Submission #61790960


Source Code Expand

Copy
#include <iostream> //
#include <algorithm> //
#include <vector> //
#include <queue> //
#include <stack> //
#include <set> //
#include <map> //
#include <list> //
#include <math.h> //
#include <functional> //
#define endl '\n'
#define pii pair<int, int>
#define pdd pair<double, double>
#define fi first
#define se second
#define pb push_back
#define eb emplace_back
#define int long long
using namespace std;
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#include <iostream>		// 基本输入输出流
#include <algorithm>	// 通用算法(排序、查找、去重、二分查找等)
#include <vector>		// 动态数组(空间不够会自动扩容)
#include <queue>		// 队列(先进先出)
#include <stack>		// 栈(先进后出)
#include <set>			// 集合(有序不重复)
#include <map>			// 键值对容器(映射)
#include <list>			// 双向链表
#include <math.h>		// 数学函数
#include <functional>	// 通用的函数绑定和调用机制

#define endl '\n'
#define pii pair<int, int>
#define pdd pair<double, double>
#define fi first
#define se second
#define pb push_back
#define eb emplace_back
#define int long long
using namespace std;

const int inf = 1e9 + 7;
const int mod = 998244353;
const int N = 2e5 + 10, M = N << 1;

void solve(){
    string s;
    cin >> s; // 读取输入的字符串

    // 将字符转换为对应的整数值,并计算乘积
    int pro = (s[0] - '0') * (s[2] - '0');

    // 输出结果
    cout << pro << endl;
    
}

signed main(){
	//重定向输入输出
//    freopen("pow.in", "r", stdin);
//    freopen("pow.out", "w", stdout);

    ios::sync_with_stdio(0);
    cin.tie(0); cout.tie(0);

    int _ = 1;
	// cin >> _;	// 非多组测试数据请注释该行
    while(_--) solve();
    return 0;
}

Submission Info

Submission Time
Task A - 9x9
User Digital_Enigma
Language C++ 20 (gcc 12.2)
Score 100
Code Size 1372 Byte
Status AC
Exec Time 1 ms
Memory 3556 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 3480 KB
00_sample_01.txt AC 1 ms 3464 KB
01_test_00.txt AC 1 ms 3432 KB
01_test_01.txt AC 1 ms 3480 KB
01_test_02.txt AC 1 ms 3352 KB
01_test_03.txt AC 1 ms 3428 KB
01_test_04.txt AC 1 ms 3556 KB
01_test_05.txt AC 1 ms 3408 KB
01_test_06.txt AC 1 ms 3492 KB
01_test_07.txt AC 1 ms 3444 KB
01_test_08.txt AC 1 ms 3492 KB
01_test_09.txt AC 1 ms 3356 KB
01_test_10.txt AC 1 ms 3492 KB
01_test_11.txt AC 1 ms 3556 KB
01_test_12.txt AC 1 ms 3496 KB
01_test_13.txt AC 1 ms 3496 KB
01_test_14.txt AC 1 ms 3432 KB
01_test_15.txt AC 1 ms 3488 KB
01_test_16.txt AC 1 ms 3456 KB
01_test_17.txt AC 1 ms 3492 KB
01_test_18.txt AC 1 ms 3552 KB
01_test_19.txt AC 1 ms 3556 KB
01_test_20.txt AC 1 ms 3488 KB
01_test_21.txt AC 1 ms 3488 KB
01_test_22.txt AC 1 ms 3496 KB
01_test_23.txt AC 1 ms 3420 KB


2025-03-23 (Sun)
19:32:56 +00:00