답안 #285113

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
285113 2020-08-28T10:23:57 Z 3zp Discharging (NOI20_discharging) C++14
11 / 100
144 ms 11256 KB
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int t[1000009];
main(){
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    int n;
    cin>>n;
    for(int i = 1;i <= n;i++){
        cin >> t[i];
    }
    cout<<(ll)t[1]*n<<endl;
}

Compilation message

Discharging.cpp:5:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    5 | main(){
      |      ^
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 384 KB Output is correct
2 Incorrect 1 ms 384 KB Output isn't correct
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Incorrect 1 ms 384 KB Output isn't correct
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 116 ms 9592 KB Output is correct
2 Correct 128 ms 11244 KB Output is correct
3 Correct 122 ms 11256 KB Output is correct
4 Correct 144 ms 9592 KB Output is correct
5 Correct 136 ms 9592 KB Output is correct
6 Correct 131 ms 9604 KB Output is correct
7 Correct 135 ms 9636 KB Output is correct
8 Correct 140 ms 9592 KB Output is correct
9 Correct 120 ms 9592 KB Output is correct
10 Correct 116 ms 9592 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 384 KB Output is correct
2 Incorrect 1 ms 384 KB Output isn't correct
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 384 KB Output is correct
2 Incorrect 1 ms 384 KB Output isn't correct
3 Halted 0 ms 0 KB -