結果
| 問題 | No.2969 ローラン単項式の微分 |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2024-11-29 21:54:20 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
AC
|
| 実行時間 | 0 ms / 2,000 ms |
| + 649µs | |
| コード長 | 115 bytes |
| 記録 | |
| コンパイル時間 | 804 ms |
| コンパイル使用メモリ | 27,008 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-25 03:30:58 |
| 合計ジャッジ時間 | 1,574 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 20 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:3:9: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
3 | scanf("%ld%ld",&n,&m);
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | main(){
main.c:5:17: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
5 | printf("Yes\n%ld %ld\n",n,m-1);
| ^~~~~~
main.c:5:17: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
ソースコード
main(){
long n,m;
scanf("%ld%ld",&n,&m);
if(n*=m){
printf("Yes\n%ld %ld\n",n,m-1);
}else{
puts("No");
}
}
tails