Pagini recente » Borderou de evaluare (job #475765) | Borderou de evaluare (job #2002986) | Borderou de evaluare (job #660986) | Borderou de evaluare (job #1819991) | Borderou de evaluare (job #1236179)
Borderou de evaluare (job #1236179)
Raport evaluator
Compilare:
user.cpp: In constructor ‘HN::HN(int)’:
user.cpp:22:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]]++;
^
user.cpp: In member function ‘HN HN::operator/(long long int)’:
user.cpp:36:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(x[0]>1 && !x[x[0]])
^
user.cpp:47:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(carry==1)x[++x[0]]=1;
^
user.cpp: In member function ‘HN HN::operator*(long long int)’:
user.cpp:61:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]]=r%10;
^
user.cpp: In member function ‘void HN::scan()’:
user.cpp:74:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]]=c;
^
user.cpp: In function ‘int main()’:
user.cpp:94:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in", "r", stdin);
^
user.cpp:95:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out", "w", stdout);
^
user.cpp:99:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &d);
^
user.cpp: In member function ‘void HN::scan()’:
user.cpp:70:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:75:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3200kb | Incorect | 0 |
2 | 4ms | 3200kb | Incorect | 0 |
3 | 4ms | 3180kb | Incorect | 0 |
4 | 4ms | 3200kb | Incorect | 0 |
5 | 8ms | 3204kb | Incorect | 0 |
6 | 12ms | 3180kb | Incorect | 0 |
7 | 24ms | 3184kb | Incorect | 0 |
8 | 48ms | 3184kb | Incorect | 0 |
9 | 64ms | 3184kb | Incorect | 0 |
10 | 84ms | 3184kb | Incorect | 0 |
Punctaj total | 0 |