結果
| 問題 | No.8043 yukicoderへようこそ! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-04-01 22:36:43 |
| 言語 | C++11(廃止可能性あり) (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 923 bytes |
| 記録 | |
| コンパイル時間 | 596 ms |
| コンパイル使用メモリ | 71,724 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-11-27 03:30:55 |
| 合計ジャッジ時間 | 6,927 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 4 TLE * 2 |
ソースコード
#include<iostream>
#include<string>
#include<iomanip>
#include<cmath>
#include<vector>
#include<algorithm>
using namespace std;
#define int long long
#define rep(i,n) for(int i = 0; i < (n); i++)
#define INF ((long long)1e18)
#define MOD ((int)1e9+7)
#define endl "\n"
#define yn(f) ((f)?"Yes":"No")
#define YN(f) ((f)?"YES":"NO")
#define MAX
signed main(){
cin.tie(0);
ios::sync_with_stdio(false);
cout<<fixed<<setprecision(10);
int N, A, B, sum = 0, con = 0;
string S;
srand(time(NULL));
int t = rand()%6;
while(cin>>N){
}
cout<<"Hello World!"<<endl;
// cin>>N;
// cout<<N*(N+1)/2<<endl;
// cin>>N;
// for(int i = 1; i <= N; i++){
// if(i%3 == 0)cout<<"Fizz";
// if(i%5 == 0)cout<<"Buzz";
// if(i%3 && i%5)cout<<i;
// cout<<endl;
// }
// cin>>A>>B>>S;
// cout<<A+B<<" "<<S<<endl;
cin>>N;
for(int i = 0; i < N; i++){
cin>>A;
sum += A;
}
cout<<sum<<endl;
return 0;
}