[백준] 10952번 : A+B-5 - Dart(다트)

강재원·2022년 9월 20일
0

[코딩테스트] Dart

목록 보기
52/100



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

import 'dart:io';
void main(){
    for(var i=0;;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);
        if(a==0 && b==0) break;
        print(a+b);
    }
}
profile
개념정리 & 문법 정리 & 알고리즘 공부

0개의 댓글