Submission #54620669


Source Code Expand

#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <deque>
#include <bitset>
#include <algorithm>
#include <complex>
#include <array>
#include <functional>
#include <atcoder/all>
using namespace std;
using namespace atcoder;

#define REP(i,n) for(int i=0; i<n; ++i)
#define FOR(i,a,b) for(int i=a; i<=b; ++i)
#define FORR(i,a,b) for (int i=a; i>=b; --i)
#define ALL(c) (c).begin(), (c).end()

typedef long long ll;
typedef vector<int> VI;
typedef vector<ll> VL;
typedef vector<double> VD;
typedef vector<VI> VVI;
typedef vector<VL> VVL;
typedef vector<VD> VVD;
typedef pair<int,int> P;
typedef pair<ll,ll> PL;

template<typename T> void chmin(T &a, T b) { if (a > b) a = b; }
template<typename T> void chmax(T &a, T b) { if (a < b) a = b; }

int in() { int x; scanf("%d", &x); return x; }
ll lin() { ll x; scanf("%lld", &x); return x; }

using mint = modint998244353;

int main(void) {
    string s, t;
    cin >> s >> t;
    cout << (s == "AtCoder" && t == "Land" ? "Yes" : "No") << endl;
    return 0;
}

Submission Info

Submission Time
Task A - Welcome to AtCoder Land
User TangentDay
Language C++ 20 (gcc 12.2)
Score 100
Code Size 1187 Byte
Status AC
Exec Time 1 ms
Memory 3648 KiB

Compile Error

Main.cpp: In function ‘int in()’:
Main.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   39 | int in() { int x; scanf("%d", &x); return x; }
      |                   ~~~~~^~~~~~~~~~
Main.cpp: In function ‘ll lin()’:
Main.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   40 | ll lin() { ll x; scanf("%lld", &x); return x; }
      |                  ~~~~~^~~~~~~~~~~~

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 11
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 02_handmade_00.txt, 02_handmade_01.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 3404 KiB
00_sample_01.txt AC 1 ms 3484 KiB
00_sample_02.txt AC 1 ms 3472 KiB
01_random_00.txt AC 1 ms 3564 KiB
01_random_01.txt AC 1 ms 3508 KiB
01_random_02.txt AC 1 ms 3572 KiB
01_random_03.txt AC 1 ms 3576 KiB
01_random_04.txt AC 1 ms 3648 KiB
01_random_05.txt AC 1 ms 3504 KiB
02_handmade_00.txt AC 1 ms 3564 KiB
02_handmade_01.txt AC 1 ms 3644 KiB