結果
問題 |
No.5021 Addition Pyramid
|
ユーザー |
|
提出日時 | 2025-02-25 21:12:33 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 172 bytes |
コンパイル時間 | 1,649 ms |
コンパイル使用メモリ | 160,748 KB |
実行使用メモリ | 6,820 KB |
スコア | 1,783,077 |
最終ジャッジ日時 | 2025-02-25 21:12:37 |
合計ジャッジ時間 | 4,302 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge6 |
純コード判定しない問題か言語 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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<<88000001<<" "; }else{ cout<<49998<<" "; } } }