結果
問題 |
No.2835 Take and Flip
|
ユーザー |
![]() |
提出日時 | 2024-12-18 22:18:21 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 94 ms / 2,000 ms |
コード長 | 193 bytes |
コンパイル時間 | 3,555 ms |
コンパイル使用メモリ | 243,112 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-18 22:18:29 |
合計ジャッジ時間 | 7,362 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
#include<bits/stdc++.h> using namespace std; #define int long long signed main(){ int N; cin >> N; int ans=0; int a; for(int i=0;i<N;i++){ cin >> a; ans+=a; } cout << ans << endl; }