結果

問題 No.2827 Enter User Name to Play
ユーザー vjudge1
提出日時 2025-04-17 18:08:42
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 255 bytes
コンパイル時間 901 ms
コンパイル使用メモリ 62,436 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-04-17 18:08:44
合計ジャッジ時間 1,493 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
using namespace std;
int main (){
	int x;
	cout<<"enter char     "<<endl;
	cin>>x;
	string s;
	cout<<"enter string    "<<endl;
	cin>>s;
	for (int i=0;i<x;i++){
	int v;
	cout<<"enter temp   "<<endl;
	cin>> v;
	cout<<s[v-1]<<endl;;
	}
	
}
0