結果

問題 No.964 2020
ユーザー Sazzad Rume
提出日時 2020-01-13 20:40:15
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 288 bytes
コンパイル時間 1,371 ms
コンパイル使用メモリ 165,076 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-12-21 16:31:23
合計ジャッジ時間 2,782 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main(int argc, char const *argv[])
{
	int n;
	cin >> n;

	if(n == 10){
		for(int i = 1; i < n; i++){
		cout << i;
	}
	cout << 0;
		cout << "\n";
	}
	else{
		for(int i = 1; i <= n; i++){
		cout << i;
	}

		cout << "\n";
	}
	
	return 0;
}
0