Klajonė

Taškai: 0

Compile: FAIL

klajone.cpp:385:0: warning: "FOR" redefined #define FOR(i, a, b) for(int i = (a); i <= (b); i++) ^ klajone.cpp:20:0: note: this is the location of the previous definition #define FOR(i,l,r) for (int i=l;i<=r;i++) ^ klajone.cpp:7:19: error: conflicting declaration ‘typedef long long int ll’ typedef long long ll; ^ klajone.cpp:6:17: note: previous declaration as ‘typedef int64_t ll’ typedef int64_t ll; ^ klajone.cpp: In function ‘BigInt operator/(BigInt, BigInt)’: klajone.cpp:247:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if (b == Integer(0)) return Integer("-1"); ^ klajone.cpp: In function ‘BigInt operator%(BigInt, BigInt)’: klajone.cpp:294:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] if (b == Integer(0)) return Integer("-1"); ^ klajone.cpp: At global scope: klajone.cpp:391:19: error: conflicting declaration ‘typedef long long int ll’ typedef long long ll; ^ klajone.cpp:6:17: note: previous declaration as ‘typedef int64_t ll’ typedef int64_t ll; ^ klajone.cpp: In function ‘int main()’: klajone.cpp:536:27: error: invalid operands of types ‘void’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’ cout << f[1].ans() << endl; ^

nr.resulttimemessage