結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
suppy193
|
| 提出日時 | 2015-05-27 10:29:21 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 203 bytes |
| コンパイル時間 | 573 ms |
| コンパイル使用メモリ | 20,096 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-06 10:35:25 |
| 合計ジャッジ時間 | 1,182 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 15 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:7:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
7 | scanf("%d%d", &s, &e);
| ^~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(void)
{
int s, e;
int i;
scanf("%d%d", &s, &e);
for(i = s;i <= e;i++){
if(i % 3 == 0){
printf("%d\n", i);
}
}
return 0;
}
suppy193