結果
| 問題 |
No.651 E869120 and Driving
|
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-25 16:34:10 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 162 bytes |
| コンパイル時間 | 216 ms |
| コンパイル使用メモリ | 24,192 KB |
| 実行使用メモリ | 7,324 KB |
| 最終ジャッジ日時 | 2025-03-25 16:34:12 |
| 合計ジャッジ時間 | 1,140 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
6 | scanf("%d",&a);
| ^~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
void main(void){
int a = 0;
scanf("%d",&a);
int t , m ;
t = 10 + (a/100);
m = a%100/10 * 6;
printf("%02d:%02d",t,m);
}
Maeda