/ SeriousOJ /

Record Detail

Wrong Answer


  
# Status Time Cost Memory Cost
#1 Accepted 2ms 324.0 KiB
#2 Accepted 1ms 532.0 KiB
#3 Wrong Answer 1ms 320.0 KiB
#4 Wrong Answer 1ms 520.0 KiB

Code

#include<iostream>
#include<bits/stdc++.h>
using namespace std;
#define ll long long int



int main(){
    int G;
    cin>>G;
    for(int i=1;i<=G;i++){
        ll a, u;
        cin>>a>>u;
        if(u==0){
            a = 1;
        }
        cout<<"Game #"<<i<<": ";
        cout<<u<<" / "<<a<<endl;
    }

    return 0;
}

Information

Submit By
Type
Submission
Problem
P1001 Achievement-Unlocked
Language
C++17 (G++ 13.2.0)
Submit At
2023-12-31 14:29:16
Judged At
2024-11-11 03:46:16
Judged By
Score
0
Total Time
2ms
Peak Memory
532.0 KiB