Submission #61834538


Source Code Expand

Copy
#include <bits/stdc++.h>
#include <vector>
using namespace std;
int main(){
long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
string s;
cin>>s;
cout<<(s[0]-48)*(s[2]-48);
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
#include <bits/stdc++.h>
#include <vector>
using namespace std;
int main(){
    long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
    string s;
    cin>>s;
    cout<<(s[0]-48)*(s[2]-48);
}

Submission Info

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

Compile Error

Main.cpp: In function ‘int main()’:
Main.cpp:5:15: warning: unused variable ‘a’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |               ^
Main.cpp:5:27: warning: unused variable ‘b’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                           ^
Main.cpp:5:39: warning: unused variable ‘c’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                       ^
Main.cpp:5:51: warning: unused variable ‘d’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                   ^
Main.cpp:5:54: warning: unused variable ‘e’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                      ^
Main.cpp:5:57: warning: unused variable ‘k’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                         ^
Main.cpp:5:60: warning: unused variable ‘n’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                            ^
Main.cpp:5:63: warning: unused variable ‘w’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                               ^
Main.cpp:5:66: warning: unused variable ‘r’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                  ^
Main.cpp:5:69: warning: unused variable ‘t’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                     ^
Main.cpp:5:72: warning: unused variable ‘i’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                        ^
Main.cpp:5:75: warning: unused variable ‘x’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                           ^
Main.cpp:5:78: warning: unused variable ‘y’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                              ^
Main.cpp:5:81: warning: unused variable ‘z’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                                 ^
Main.cpp:5:84: warning: unused variable ‘l’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                                    ^
Main.cpp:5:89: warning: unused variable ‘p’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                                         ^
Main.cpp:5:94: warning: unused variable ‘m’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                                              ^
Main.cpp:5:99: warning: unused variable ‘j’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                                                   ^
Main.cpp:5:102: warning: unused variable ‘h’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                                                      ^
Main.cpp:5:105: warning: unused variable ‘q’ [-Wunused-variable]
    5 |     long long a[1000000], b[1000000], c[1000000], d, e, k, n, w, r, t, i, x, y, z, l=0, p=0, m=0, j, h, q;
      |                                                                                                         ^

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 3360 KB
00_sample_01.txt AC 1 ms 3424 KB
01_test_00.txt AC 1 ms 3448 KB
01_test_01.txt AC 1 ms 3464 KB
01_test_02.txt AC 1 ms 3644 KB
01_test_03.txt AC 1 ms 3356 KB
01_test_04.txt AC 1 ms 3464 KB
01_test_05.txt AC 1 ms 3456 KB
01_test_06.txt AC 1 ms 3524 KB
01_test_07.txt AC 1 ms 3420 KB
01_test_08.txt AC 1 ms 3360 KB
01_test_09.txt AC 1 ms 3492 KB
01_test_10.txt AC 1 ms 3520 KB
01_test_11.txt AC 1 ms 3452 KB
01_test_12.txt AC 1 ms 3480 KB
01_test_13.txt AC 1 ms 3488 KB
01_test_14.txt AC 1 ms 3476 KB
01_test_15.txt AC 1 ms 3492 KB
01_test_16.txt AC 1 ms 3484 KB
01_test_17.txt AC 1 ms 3420 KB
01_test_18.txt AC 1 ms 3556 KB
01_test_19.txt AC 1 ms 3448 KB
01_test_20.txt AC 1 ms 3464 KB
01_test_21.txt AC 1 ms 3460 KB
01_test_22.txt AC 1 ms 3420 KB
01_test_23.txt AC 1 ms 3492 KB


2025-03-05 (Wed)
18:02:55 +00:00