結果
問題 |
No.2835 Take and Flip
|
ユーザー |
|
提出日時 | 2025-04-30 09:57:19 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 113 ms / 2,000 ms |
コード長 | 168 bytes |
コンパイル時間 | 4,399 ms |
コンパイル使用メモリ | 270,804 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2025-04-30 09:57:27 |
合計ジャッジ時間 | 7,243 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 22 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll = long long; ll n,a,ans; int main(){ cin >> n; for(int i = 0; i < n; i++) cin >> a,ans += a; cout << ans; }