Borderou de evaluare (job #1564841)
Raport evaluator
Compilare:
user.cpp: In function ‘bigInt operator<<(bigInt&, int)’:
user.cpp:29:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); ++i)
^
user.cpp: In function ‘bigInt operator+(bigInt, bigInt)’:
user.cpp:40:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i)
^
user.cpp:42:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
a[i] += (i < b.size() ? b[i] : 0) + t;
^
user.cpp: In function ‘bigInt operator*(int, bigInt)’:
user.cpp:57:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i)
^
user.cpp: In function ‘bool comp(bigInt&, bigInt)’:
user.cpp:74:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int d1 = (i < a.size() ? a[i] : 0);
^
user.cpp:75:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
int d2 = (i < b.size() ? b[i] : 0);
^
user.cpp: In function ‘bigInt convertTo10(bigInt)’:
user.cpp:111:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a.size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:125:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.in", "r", stdin);
^
user.cpp:126:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sqrt.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 708kb | OK | 10 |
2 | 0ms | 704kb | OK | 10 |
3 | 0ms | 728kb | OK | 10 |
4 | 0ms | 736kb | Incorect | 0 |
5 | 0ms | 756kb | OK | 10 |
6 | 0ms | 760kb | OK | 10 |
7 | 44ms | 3676kb | OK | 10 |
8 | 44ms | 3676kb | OK | 10 |
9 | 44ms | 3824kb | OK | 10 |
10 | 44ms | 3656kb | OK | 10 |
Punctaj total | 90 |