[백준] 10951번 : A+B-4 - Dart(다트)

강재원·2022년 9월 21일
0

[코딩테스트] Dart

목록 보기
59/100



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

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

0개의 댓글