Pagini recente » Borderou de evaluare (job #955235) | Borderou de evaluare (job #782481) | Borderou de evaluare (job #1991602) | Borderou de evaluare (job #2801701) | Borderou de evaluare (job #1236191)
Borderou de evaluare (job #1236191)
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:62:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]]=r%10;
^
user.cpp: In member function ‘void HN::scan()’:
user.cpp:75:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]]=c;
^
user.cpp: In function ‘int main()’:
user.cpp:95: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:96: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:100: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:71:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:76: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 | OK | 10 |
2 | 4ms | 3204kb | OK | 10 |
3 | 4ms | 3184kb | Incorect | 0 |
4 | 4ms | 3204kb | Incorect | 0 |
5 | 8ms | 3200kb | Incorect | 0 |
6 | 12ms | 3180kb | Incorect | 0 |
7 | 24ms | 3180kb | Incorect | 0 |
8 | 56ms | 3180kb | Incorect | 0 |
9 | 76ms | 3184kb | Incorect | 0 |
10 | 84ms | 3180kb | Incorect | 0 |
Punctaj total | 20 |