結果
問題 |
No.5021 Addition Pyramid
|
ユーザー |
|
提出日時 | 2025-02-25 20:48:46 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 174 bytes |
コンパイル時間 | 1,357 ms |
コンパイル使用メモリ | 159,876 KB |
実行使用メモリ | 6,820 KB |
スコア | 2,080,695 |
最終ジャッジ日時 | 2025-02-25 20:49:18 |
合計ジャッジ時間 | 3,400 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
純コード判定しない問題か言語 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 50 |
コンパイルメッセージ
main.cpp:4:1: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type] 4 | main(){ | ^~~~
ソースコード
#include<bits/stdc++.h> using namespace std; #define int long long main(){ int n;cin>>n; for(int i=0;i<n;i++){ if(i%2){ cout<<50000001<<" "; }else{ cout<<4999998<<" "; } } }