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