Pagini recente » Borderou de evaluare (job #1377866) | Borderou de evaluare (job #1709270) | Borderou de evaluare (job #1798712) | Borderou de evaluare (job #2333084) | Borderou de evaluare (job #2362066)
Borderou de evaluare (job #2362066)
Raport evaluator
Compilare:
main.cpp: In member function 'Huge Huge::operator+(const Huge&) const':
main.cpp:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < result.v.size() - 1; i++) {
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:21:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i < v.size())
~~^~~~~~~~~~
main.cpp:23:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i < a.v.size())
~~^~~~~~~~~~~~
main.cpp: In member function 'Huge Huge::operator-(const Huge&) const':
main.cpp:41:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < result.v.size() - 1; i++) {
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:42:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i < v.size())
~~^~~~~~~~~~
main.cpp:44:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i < a.v.size())
~~^~~~~~~~~~~~
main.cpp: In member function 'Huge Huge::operator*(const Huge&) const':
main.cpp:59:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
main.cpp:60:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < a.v.size(); j++)
~~^~~~~~~~~~~~
main.cpp:62:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < result.v.size() - 1; i++) {
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:108:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("numar4.in", "r", stdin);
^
main.cpp:109:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("numar4.out", "w", stdout);
^
main.cpp:110:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &ni, &nz);
^
main.cpp:115:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
main.cpp:119:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 2ms | 131kb | OK | 5 |
| 9 | 2ms | 131kb | OK | 5 |
| 10 | 2ms | 131kb | OK | 5 |
| 11 | 2ms | 131kb | OK | 5 |
| 12 | 2ms | 131kb | OK | 5 |
| 13 | 3ms | 131kb | OK | 5 |
| 14 | 2ms | 131kb | OK | 5 |
| 15 | 3ms | 131kb | OK | 5 |
| 16 | 13ms | 131kb | OK | 5 |
| 17 | 17ms | 131kb | OK | 5 |
| 18 | 44ms | 131kb | OK | 5 |
| 19 | 3ms | 131kb | OK | 5 |
| 20 | 3ms | 131kb | OK | 5 |
| Punctaj total | 100 |