提出 #25194652
ソースコード 拡げる
#include <bits/stdc++.h>
#define endl '\n'
using namespace std;
void testcase(int t){
string s;
cin >> s;
if(s == "Hello,World!") cout << "AC" << endl;
else cout << "WA" << endl;
}
int main(){
ios_base::sync_with_stdio(0);
cin.tie(0);
int t = 1;
if(!t) cin >> t;
for(int i=1;i<=t;i++)
testcase(i);
return 0;
}
提出情報
| 提出日時 | |
|---|---|
| 問題 | A - Your First Judge |
| ユーザ | br1 |
| 言語 | C++ (GCC 9.2.1) |
| 得点 | 100 |
| コード長 | 377 Byte |
| 結果 | AC |
| 実行時間 | 6 ms |
| メモリ | 3652 KiB |
コンパイルエラー
./Main.cpp: In function ‘void testcase(int)’:
./Main.cpp:7:19: warning: unused parameter ‘t’ [-Wunused-parameter]
7 | void testcase(int t){
| ~~~~^
ジャッジ結果
| セット名 | Sample | All | ||||
|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 100 / 100 | ||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample_01.txt, sample_02.txt, sample_03.txt |
| All | sample_01.txt, sample_02.txt, sample_03.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| sample_01.txt | AC | 6 ms | 3596 KiB |
| sample_02.txt | AC | 2 ms | 3608 KiB |
| sample_03.txt | AC | 2 ms | 3496 KiB |
| test_01.txt | AC | 3 ms | 3652 KiB |
| test_02.txt | AC | 2 ms | 3504 KiB |
| test_03.txt | AC | 2 ms | 3564 KiB |
| test_04.txt | AC | 2 ms | 3508 KiB |
| test_05.txt | AC | 2 ms | 3496 KiB |
| test_06.txt | AC | 2 ms | 3504 KiB |
| test_07.txt | AC | 2 ms | 3600 KiB |