Submission #595106

# Submission time Handle Problem Language Result Execution time Memory
595106 2022-07-13T11:17:22 Z AGE Sob (COCI19_sob) C++14
0 / 110
5 ms 340 KB
#include<bits/stdc++.h>
#define F first
#define S second
#define pb push_back
#define int long long

using namespace std;
const int N=1e5+10,M=2e3,mod=10;
int a[N];
int c[N][35],dp[N][35];
main()
{
    
    int n,m;
    cin>>n>>m;
    
    for(int i=0;i<n;i++)
        cout<<i<<" "<<i+m<<endl;
    
    

    return 0;

}

Compilation message

sob.cpp:11:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   11 | main()
      | ^~~~
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 5 ms 340 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 212 KB Output isn't correct
2 Halted 0 ms 0 KB -