結果
| 問題 |
No.2515 Similar Triangles
|
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-17 14:40:59 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 192 bytes |
| コンパイル時間 | 285 ms |
| コンパイル使用メモリ | 24,704 KB |
| 実行使用メモリ | 7,328 KB |
| 最終ジャッジ日時 | 2025-03-17 14:41:01 |
| 合計ジャッジ時間 | 967 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
6 | scanf("%d",&numList[i]);
| ^~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
void main(void){
int numList[5];
for(int i = 0 ; i < 5 ; i++){
scanf("%d",&numList[i]);
}
if(numList[1] == numList[3]){
printf("Yes");
}else {
printf("No");
}
}
Maeda