Submission #20448294


Source Code Expand

Copy
#include <iostream>
using namespace std;

int main(void){
  int ans=0;
  for(int i=0;i<8;i++){
    int t; cin>>t;
    if(t>ans)ans=t;
  }
  cout<<t<<endl;
  return 0;
}

Submission Info

Submission Time
Task A - Time Penalty
User negativethinker
Language C++ (GCC 9.2.1)
Score 0
Code Size 179 Byte
Status CE

Compile Error

./Main.cpp: In function ‘int main()’:
./Main.cpp:10:9: error: ‘t’ was not declared in this scope; did you mean ‘tm’?
   10 |   cout<<t<<endl;
      |         ^
      |         tm