結果
問題 |
No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2023-02-24 12:26:11 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 74 ms / 3,000 ms |
コード長 | 187 bytes |
コンパイル時間 | 1,571 ms |
コンパイル使用メモリ | 166,640 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-26 20:09:12 |
合計ジャッジ時間 | 3,535 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 15 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { long long i, N, cnt=0, num; cin>>N; for(i=0;i<N;i++){ cin>>num; cnt += num; } cout<<cnt<<endl; return 0; }