結果
問題 |
No.3159 Just Answer 10 Integers!
|
ユーザー |
![]() |
提出日時 | 2025-05-23 19:50:23 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 309 bytes |
コンパイル時間 | 269 ms |
コンパイル使用メモリ | 25,904 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-05-23 19:50:27 |
合計ジャッジ時間 | 1,832 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 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] = { 3234846615,2156564410,1293938646,924241890,588153930,497668710,380570190,340510170,281291010,223092870 }; long long int i; for (i = 0; i < n - 1; i++) printf("%lld ", s[i]); printf("%lld\n", s[i]); return 0; }