提出 #38597550


ソースコード 拡げる

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
inline ll rd(){
	ll x=0;char c=getchar();bool f=0;
	while(!isdigit(c)){if(c=='-')f=1;c=getchar();}
	while(isdigit(c)){x=(x<<1)+(x<<3)+(c^48);c=getchar();}
	return f?-x:x;
}
int main(){
	ios::sync_with_stdio(false);
	cin.tie(0); cout.tie(0);
	int n;
	ll a,b;
	cin>>n;
	for(int i=1;i<=n;++i){
		cin>>a>>b;
		cout<<a+b<<endl;
	}
    return 0;
}

提出情報

提出日時
問題 A - Many A+B Problems
ユーザ comld
言語 C++ (GCC 9.2.1)
得点 100
コード長 430 Byte
結果 AC
実行時間 9 ms
メモリ 3624 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 100 / 100
結果
AC × 1
AC × 11
セット名 テストケース
Sample example0.txt
All 000.txt, 001.txt, 002.txt, 003.txt, 004.txt, 005.txt, 006.txt, 007.txt, 008.txt, 009.txt, example0.txt
ケース名 結果 実行時間 メモリ
000.txt AC 9 ms 3528 KiB
001.txt AC 6 ms 3596 KiB
002.txt AC 6 ms 3504 KiB
003.txt AC 8 ms 3556 KiB
004.txt AC 5 ms 3512 KiB
005.txt AC 7 ms 3568 KiB
006.txt AC 6 ms 3476 KiB
007.txt AC 8 ms 3520 KiB
008.txt AC 6 ms 3504 KiB
009.txt AC 7 ms 3624 KiB
example0.txt AC 2 ms 3508 KiB