結果
問題 |
No.227 簡単ポーカー
|
ユーザー |
![]() |
提出日時 | 2025-03-05 10:25:44 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 136 bytes |
コンパイル時間 | 886 ms |
コンパイル使用メモリ | 24,320 KB |
実行使用メモリ | 8,608 KB |
最終ジャッジ日時 | 2025-03-05 10:25:47 |
合計ジャッジ時間 | 2,579 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 14 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:7:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | scanf("%d",&p[i]); | ^~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(){ int card[5]; int *p = card; for(int i = 0;i < 5;i++){ scanf("%d",&p[i]); printf("%d ",p[i]); } }