結果
| 問題 | No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用) |
| ユーザー |
takumin0616
|
| 提出日時 | 2021-03-22 01:24:26 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 193 bytes |
| コンパイル時間 | 109 ms |
| コンパイル使用メモリ | 27,904 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-22 20:55:26 |
| 合計ジャッジ時間 | 1,194 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 9 WA * 6 |
ソースコード
#include<stdio.h>
int main(){
int n,a;
long b;
long c=0;
scanf("%d",&n);
for(a=1;a<=n;a++){
scanf("%ld",&b);
c=c+b;
}
printf("%d",c);
return 0;
}
takumin0616