結果
| 問題 |
No.99 ジャンピング駒
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-27 14:29:36 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 207 bytes |
| コンパイル時間 | 1,030 ms |
| コンパイル使用メモリ | 24,192 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2025-03-27 14:29:39 |
| 合計ジャッジ時間 | 1,897 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 4 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:4:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
4 | scanf("%lld",&n);
| ^~~~~~~~~~~~~~~~
main.c:7:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
7 | scanf("%d",&num);
| ^~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
void main(void){
long long int n = 0;
scanf("%lld",&n);
for(long long int i = 0 ; i < n ; i++){
int num = 0 ;
scanf("%d",&num);
}
printf("%lld",n%2);
}
Maeda