結果
問題 |
No.964 2020
|
ユーザー |
|
提出日時 | 2020-01-13 20:23:37 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 454 bytes |
コンパイル時間 | 1,607 ms |
コンパイル使用メモリ | 166,200 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-21 16:06:38 |
合計ジャッジ時間 | 2,355 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 WA * 1 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int n;cin >> n; if(n==10){ for(int i=1;i<=9;i++){ for(int j=0;j<9;j++){ cout << i; } } for(int i=0;i<9;i++){ cout << 0; } cout << endl; } else{ for(int i=1;i<=n;i++){ for(int j=0;j<n;j++){ cout << i; } } cout << endl; } }