提出 #68522282


ソースコード 拡げる

#pragma G++ optimize("Ofast")
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define il inline
#define vi std::vector<int>
#define ri register int
#define L(i, a, b) for (ri i = (a); i <= (b); i++)
#define R(i, a, b) for (ri i = (a); i >= (b); i--)
const int N = 3e5 + 5, M = 21, p = 1e9 + 7, inf = 2e18;

signed main(){
    ios::sync_with_stdio(false);
    cin.tie(0), cout.tie(0);
    string s; std::cin >> s;
    if (s == "red") cout << "SSS";
    else if (s == "blue") cout << "FFF";
    else if (s == "green") cout << "MMM";
    else cout << "Unknown";
    return 0;
}

提出情報

提出日時
問題 A - AtCoder Language
ユーザ Kxwdd_
言語 C++ 20 (gcc 12.2)
得点 100
コード長 613 Byte
結果 AC
実行時間 2 ms
メモリ 3596 KiB

コンパイルエラー

Main.cpp:1: warning: ignoring ‘#pragma G ’ [-Wunknown-pragmas]
    1 | #pragma G++ optimize("Ofast")
      | 

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 2
AC × 15
セット名 テストケース
Sample sample00.txt, sample01.txt
All sample00.txt, sample01.txt, testcase00.txt, testcase01.txt, testcase02.txt, testcase03.txt, testcase04.txt, testcase05.txt, testcase06.txt, testcase07.txt, testcase08.txt, testcase09.txt, testcase10.txt, testcase11.txt, testcase12.txt
ケース名 結果 実行時間 メモリ
sample00.txt AC 1 ms 3464 KiB
sample01.txt AC 1 ms 3460 KiB
testcase00.txt AC 1 ms 3596 KiB
testcase01.txt AC 1 ms 3508 KiB
testcase02.txt AC 1 ms 3416 KiB
testcase03.txt AC 1 ms 3516 KiB
testcase04.txt AC 1 ms 3464 KiB
testcase05.txt AC 1 ms 3412 KiB
testcase06.txt AC 1 ms 3392 KiB
testcase07.txt AC 1 ms 3420 KiB
testcase08.txt AC 1 ms 3464 KiB
testcase09.txt AC 1 ms 3320 KiB
testcase10.txt AC 1 ms 3320 KiB
testcase11.txt AC 2 ms 3456 KiB
testcase12.txt AC 1 ms 3464 KiB