Submission #2467911
Source Code Expand
#include<stdio.h> #include<iostream> using namespace std; int a,b; int main (){ cin >> a >> b; int cnt = 0; for(int i=1; i<=a; i++){ for(int j=1; j<=b; j++){ if( i == j ) cnt++; } } cout << cnt << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - Day of Takahashi |
User | mlpj56d |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 284 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||||
---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | in01.txt, in02.txt, in03.txt, in04.txt, sample_01.txt, sample_02.txt, sample_03.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
in01.txt | AC | 1 ms | 256 KB |
in02.txt | WA | 1 ms | 256 KB |
in03.txt | AC | 1 ms | 256 KB |
in04.txt | AC | 1 ms | 256 KB |
sample_01.txt | AC | 1 ms | 256 KB |
sample_02.txt | AC | 1 ms | 256 KB |
sample_03.txt | AC | 1 ms | 256 KB |