結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
|
提出日時 | 2019-03-07 01:30:31 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 229 bytes |
コンパイル時間 | 134 ms |
コンパイル使用メモリ | 28,800 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-23 14:42:20 |
合計ジャッジ時間 | 1,748 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 3 RE * 1 |
other | AC * 1 WA * 9 RE * 5 |
ソースコード
#include<stdio.h> int main(void){ int N; long number[N]; long sum=0; scanf("%d",&N); for(int i=1; i<=N; i++){ scanf("%ld", &number[i-1]); sum+=number[i-1]; } printf("%ld",sum); }