Pagini recente » Borderou de evaluare (job #35108) | Borderou de evaluare (job #3294150) | Borderou de evaluare (job #994999) | Borderou de evaluare (job #2492516) | Borderou de evaluare (job #2116892)
Borderou de evaluare (job #2116892)
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:103: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:104: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:107:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:108:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(p);
^
/tmp/cc2Pl30T.o: In function `main':
user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 12748kb | OK | 10 |
2 | 16ms | 12748kb | OK | 10 |
3 | 16ms | 12748kb | OK | 10 |
4 | 16ms | 12748kb | OK | 10 |
5 | 16ms | 12748kb | OK | 10 |
6 | 20ms | 12752kb | OK | 10 |
7 | 20ms | 12752kb | OK | 10 |
8 | 20ms | 12744kb | OK | 10 |
9 | 24ms | 12752kb | OK | 10 |
10 | 28ms | 12752kb | OK | 10 |
Punctaj total | 100 |