Pagini recente » Borderou de evaluare (job #133833) | Borderou de evaluare (job #2431666) | Borderou de evaluare (job #916090) | Borderou de evaluare (job #2352256) | Borderou de evaluare (job #1239731)
Borderou de evaluare (job #1239731)
Raport evaluator
Compilare:
user.cpp: In member function ‘HN HN::operator/(long long int)’:
user.cpp:36:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(x[0]>1 && !x[x[0]])
^
user.cpp:47:33: 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:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]]=r%10;
^
user.cpp: In member function ‘void HN::scan()’:
user.cpp:75:21: 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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:76:28: 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 | 3204kb | OK | 10 |
| 2 | 4ms | 3204kb | OK | 10 |
| 3 | 4ms | 3180kb | Incorect | 0 |
| 4 | 4ms | 3200kb | Incorect | 0 |
| 5 | 8ms | 3204kb | Incorect | 0 |
| 6 | 12ms | 3180kb | Incorect | 0 |
| 7 | 24ms | 3180kb | Incorect | 0 |
| 8 | 56ms | 3180kb | Incorect | 0 |
| 9 | 72ms | 3184kb | Incorect | 0 |
| 10 | 72ms | 3184kb | Incorect | 0 |
| Punctaj total | 20 |