結果
問題 | No.207 世界のなんとか |
ユーザー | ゆーたろ |
提出日時 | 2016-11-19 13:10:51 |
言語 | C90 (gcc 11.4.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 239 bytes |
コンパイル時間 | 165 ms |
コンパイル使用メモリ | 20,480 KB |
実行使用メモリ | 6,528 KB |
最終ジャッジ日時 | 2024-05-05 04:11:00 |
合計ジャッジ時間 | 12,510 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
testcase_06 | -- | - |
testcase_07 | -- | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
コンパイルメッセージ
main.c: In function ‘main’: main.c:6:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d %d", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(void) { int a, b, c, i, t; scanf("%d %d", &a, &b); for(i=a; i<=b; i++){ c=0; if(i%3==0)c=1; //3baisu for(t=i; t; t/10) if(t%10==3)//3hukumu c=1; if(c==1)printf("%d\n", i); } return 0; }