結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
![]() |
提出日時 | 2018-05-02 13:23:19 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 296 bytes |
コンパイル時間 | 128 ms |
コンパイル使用メモリ | 29,312 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-06-28 00:20:02 |
合計ジャッジ時間 | 3,899 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 RE * 1 TLE * 1 |
other | -- * 15 |
ソースコード
#include <stdio.h> int main() { long long int n, i; long long int sum[n]; long long int total; scanf("%lld", &n); for(i=0;i<n;i++) scanf("%lld", &sum[i]); for(i=0;i<n;i++) total+=sum[i]; printf("%lld", total); return 0; }