Submission #1195666

#TimeUsernameProblemLanguageResultExecution timeMemory
1195666al_reem_20109월 (APIO24_september)C++20
Compilation error
0 ms0 KiB

// اَللَهُمَ صَلِ عَلَىَ مُحَمَدٍ وَ آلِ مُحَمَدٍ
#include "bits/stdc++.h"
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <cmath>
#include <map>
#include <set>
#include <queue>
#include <thread>
#include <fstream>
using namespace std ;
#define int long long
#define pb push_back
#define si size()
#define fi first
#define se second
#define all(a) a.begin(),a.end()
#define applejuice ios::sync_with_stdio(false) ; cin.tie(nullptr) ; cout.tie(nullptr) ;
const int inf=1e18 ;
const int mod=1e9+7 ;
int tt=1 ;
void solve()
{
    int n , m ;
    cin >> n >> m ;
    for(int i=0 ; i<n ; i++) {int a ; cin >> a ;}
    for(int i=0 ; i<m ; i++) {for(int j=0 ; j<n ; j++) {int a ; cin >> a ;}}
    cout << n << "\n" ;
}
signed main()
{
    //wrong ,tle
    applejuice ;
    cin >> tt ;
    while(tt--) {solve();}
}

Compilation message (stderr)

/usr/bin/ld: /tmp/ccG3MKOk.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccNLF0ed.o:september.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccG3MKOk.o: in function `mtbpdhr2zxjo1o4i9oreohsbuzzl4s6u::taskcase()':
grader.cpp:(.text+0x50d): undefined reference to `solve(int, int, std::vector<int, std::allocator<int> >, std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >)'
collect2: error: ld returned 1 exit status