Submission #740642
Source Code Expand
#include<stdio.h> int main(){ int i,j,N; scanf("%d",&N); for(i=1;i<=9;i++){ for(j=1;j<=9;j++){ if(2025-N == i*j) printf("%d × %d\n",i,j); } } return 0; }
Submission Info
Submission Time | |
---|---|
Task | C - 九九足し算 |
User | tkkt0001 |
Language | C (GCC 4.6.4) |
Score | 0 |
Code Size | 186 Byte |
Status | WA |
Exec Time | 29 ms |
Memory | 800 KB |
Compile Error
./Main.c: In function ‘main’: ./Main.c:7:6: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 0 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_1953.txt, test_1971.txt, test_1977.txt, test_1983.txt, test_1989.txt, test_1990.txt, test_1993.txt, test_1995.txt, test_1997.txt, test_1998.txt, test_2001.txt, test_2009.txt, test_2013.txt, test_2017.txt, test_2019.txt, test_2020.txt, test_2022.txt, test_2024.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | WA | 23 ms | 796 KB |
sample_02.txt | WA | 24 ms | 788 KB |
test_1953.txt | WA | 24 ms | 792 KB |
test_1971.txt | WA | 25 ms | 724 KB |
test_1977.txt | WA | 23 ms | 788 KB |
test_1983.txt | WA | 24 ms | 792 KB |
test_1989.txt | WA | 29 ms | 796 KB |
test_1990.txt | WA | 24 ms | 788 KB |
test_1993.txt | WA | 23 ms | 792 KB |
test_1995.txt | WA | 25 ms | 792 KB |
test_1997.txt | WA | 24 ms | 796 KB |
test_1998.txt | WA | 23 ms | 800 KB |
test_2001.txt | WA | 24 ms | 792 KB |
test_2009.txt | WA | 24 ms | 792 KB |
test_2013.txt | WA | 25 ms | 796 KB |
test_2017.txt | WA | 23 ms | 796 KB |
test_2019.txt | WA | 24 ms | 796 KB |
test_2020.txt | WA | 23 ms | 800 KB |
test_2022.txt | WA | 22 ms | 796 KB |
test_2024.txt | WA | 22 ms | 792 KB |