結果
問題 |
No.1291 小手調べ
|
ユーザー |
|
提出日時 | 2020-11-20 21:25:52 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 128 bytes |
コンパイル時間 | 612 ms |
コンパイル使用メモリ | 63,228 KB |
実行使用メモリ | 13,892 KB |
最終ジャッジ日時 | 2024-07-23 12:37:33 |
合計ジャッジ時間 | 4,489 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | OLE * 1 -- * 3 |
コンパイルメッセージ
main.cpp:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] 3 | main(){int N;cin>>N;while(--N){int a;cin>>a;cout<<9;a--;while(--a)cout<<0;cout<<endl;}} | ^~~~
ソースコード
#include <iostream> using namespace std; main(){int N;cin>>N;while(--N){int a;cin>>a;cout<<9;a--;while(--a)cout<<0;cout<<endl;}}