[백준] 11021번 : A+B-7 - Dart(다트)

강재원·2022년 9월 20일
0

[코딩테스트] Dart

목록 보기
53/100



https://www.acmicpc.net/problem/11021

import 'dart:io';
void main(){
    int? t=int.parse(stdin.readLineSync()!);
    for(var i=1;i<=t;i++){
        String? st=stdin.readLineSync();
        final v=st!.split(' ').map<int>((o)=>int.parse(o));
        var a=v.elementAt(0);
        var b=v.elementAt(1);
        print("Case #${i}: ${a+b}");
    }
}
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글