結果
| 問題 |
No.1399 すごろくで世界旅行 (構築)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-02-25 00:03:10 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 3,153 ms |
| コード長 | 173 bytes |
| コンパイル時間 | 621 ms |
| コンパイル使用メモリ | 63,912 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-25 00:56:15 |
| 合計ジャッジ時間 | 21,207 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 22 |
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
4 | main()
| ^~~~
ソースコード
#include<iostream>
using namespace std;
int V,D;
main()
{
cin>>V>>D;
for(int i=0;i<V;i++)
{
for(int j=0;j<V;j++)
{
cout<<(D==1?1:i&&j?0:1);
}
cout<<endl;
}
}