結果
問題 |
No.3159 Just Answer 10 Integers!
|
ユーザー |
![]() |
提出日時 | 2025-05-23 19:53:25 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 297 bytes |
コンパイル時間 | 731 ms |
コンパイル使用メモリ | 26,056 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-05-23 19:53:40 |
合計ジャッジ時間 | 1,482 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 9 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%lld", &n); | ^~~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h> int main() { long long int n; scanf("%lld", &n); long long int s[10] = { 111546435,74364290,44618574,31870410,20281170,17160990,13123110,11741730,9699690,223092870 }; long long int i; for (i = 0; i < n - 1; i++) printf("%lld ", s[i]); printf("%lld\n", s[i]); return 0; }