Klajonė
- [1] 2019-10-19 12:50 (13.5)
- [2] 2019-12-30 13:36 (0)
- [3] 2019-12-30 13:38 (0)
- [4] 2020-01-03 15:12 (2.7)
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. | result | time | message |
---|