結果
問題 |
No.570 3人兄弟(その1)
|
ユーザー |
![]() |
提出日時 | 2017-12-02 23:25:44 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 436 bytes |
コンパイル時間 | 270 ms |
コンパイル使用メモリ | 28,288 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-28 03:56:18 |
合計ジャッジ時間 | 660 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 |
コンパイルメッセージ
main.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int] 3 | main(){ | ^~~~
ソースコード
#include <stdio.h> main(){ int a,b,c; scanf("%d%d%d", &a, &b, &c); int i; for(i=200;i>=150;i--){ if(i==a){ printf("A\n"); } if(i==b){ printf("B\n"); } if(i==c){ printf("C\n"); } } return 0; }