Pagini recente » Borderou de evaluare (job #3275243) | Borderou de evaluare (job #2687294) | Borderou de evaluare (job #2181157) | Borderou de evaluare (job #2752792) | Borderou de evaluare (job #2116891)
Borderou de evaluare (job #2116891)
Raport evaluator
Compilare:
user.cpp: In member function ‘void HugeN::atrib(int)’:
user.cpp:19:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]] = nr % 10;
^
user.cpp: In member function ‘int HugeN::cmp(const HugeN&)’:
user.cpp:30:24: warning: unused variable ‘n’ [-Wunused-variable]
int i, cif1, cif2, n;
^
user.cpp: In member function ‘HugeN HugeN::operator+(const HugeN&)’:
user.cpp:78:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
temp.x[++temp.x[0]] = tr;
^
user.cpp: In member function ‘HugeN HugeN::operator-=(const HugeN&)’:
user.cpp:94:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(x[x[0]] == 0)
^
user.cpp: In function ‘int main()’:
user.cpp:102:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbsort.in", "r", stdin);
^
user.cpp:103:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbsort.out", "w", stdout);
^
user.cpp:106:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4540kb | OK | 10 |
2 | 4ms | 4544kb | OK | 10 |
3 | 4ms | 4540kb | OK | 10 |
4 | 4ms | 4540kb | Incorect | 0 |
5 | 4ms | 4540kb | Incorect | 0 |
6 | 4ms | 4540kb | Incorect | 0 |
7 | 8ms | 4544kb | OK | 10 |
8 | 8ms | 4540kb | Incorect | 0 |
9 | 12ms | 4544kb | Incorect | 0 |
10 | 12ms | 4532kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |