提出 #72868846


ソースコード 拡げる

#include <bits/stdc++.h>
 using namespace std;
 typedef long long ll;
 typedef unsigned long long ull;
 typedef pair<int, int> pii;
 typedef pair<ll, ll> pll;
 const ll MOD=1e9+7;
 const ll INF=0x3f3f3f3f3f3f3f3f3f;
const int N = 2e5 + 10;


 void solve()
 {
    string s,s1;
    cin>>s;
    s1=s+'s';
    cout<<s1;
}
 int main()
 {
    ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
    int _ = 1;
   // cin >> _;
    while(_--)
        solve();
    return 0;
 }

提出情報

提出日時
問題 A - Append s
ユーザ Mu_YueSheng
言語 C++23 (GCC 15.2.0)
得点 100
コード長 492 Byte
結果 AC
実行時間 1 ms
メモリ 3628 KiB

コンパイルエラー

./Main.cpp:8:15: warning: integer constant is too large for its type
    8 |  const ll INF=0x3f3f3f3f3f3f3f3f3f;
      |               ^~~~~~~~~~~~~~~~~~~~

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 3
AC × 9
セット名 テストケース
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
ケース名 結果 実行時間 メモリ
00_sample_00.txt AC 1 ms 3500 KiB
00_sample_01.txt AC 1 ms 3596 KiB
00_sample_02.txt AC 1 ms 3596 KiB
01_random_00.txt AC 1 ms 3596 KiB
01_random_01.txt AC 1 ms 3620 KiB
01_random_02.txt AC 1 ms 3468 KiB
01_random_03.txt AC 1 ms 3516 KiB
01_random_04.txt AC 1 ms 3628 KiB
01_random_05.txt AC 1 ms 3628 KiB