pages:
- 1
Tester SAYS
hey guys, whats wrong with this question, i use long int for variables in my solution but everytime i get runtime error no matter what. even for this simple code:
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main()
{
long int n, *b, i = 0;
cin>>n;
return 0;
}
i just tested the above code (it's just for test, not my real solution) to know where my problem is, but still no luck, it gives me runtime error and driven me crazy. could someone please help me out with this :(
Tester SAYS
could someone provide some error prone test cases? i get correct answers for multiple test cases i've provided
Mehdi SAYS
include
using namespace std;
int main() { int a; if (cin >> a) cout << a << endl; return 0; }
//Runtime error :)))
Login please!
In order to post something you must login first. You can use the form in the top of this page.