Submission #1344313

#TimeUsernameProblemLanguageResultExecution timeMemory
1344313greentreeA + B (IOI24_aplusb)C++20
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>
using namespace std;
using ll = long long ;

/*

Problem Idea :
  Green Tree!

*/

void solve(){
  ll a, b;cin >> a >> b;
  cout << a+b;
  return;
  
}

signed main(){
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  solve();
}

Compilation message (stderr)

/usr/bin/ld: /tmp/cc3RiQyC.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccUvigsi.o:aplusb.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/cc3RiQyC.o: in function `main':
grader.cpp:(.text.startup+0x14e): undefined reference to `sum(int, int)'
collect2: error: ld returned 1 exit status