Pagini recente » Borderou de evaluare (job #1869157) | Borderou de evaluare (job #1640322) | Borderou de evaluare (job #1341642) | Borderou de evaluare (job #1783572) | Borderou de evaluare (job #1468293)
Borderou de evaluare (job #1468293)
Raport evaluator
Compilare:
user.cpp: In member function ‘HN& HN::operator-(const HN&)’:
user.cpp:35:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ans.a[ans.a[0]] == 0)ans.a[0]--;
^
user.cpp:27:6: warning: reference to local variable ‘ans’ returned [-Wreturn-local-addr]
HN ans = *this;
^
user.cpp: In member function ‘HN& HN::operator/(const int&)’:
user.cpp:49:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(ans.a[ans.a[0]] == 0)ans.a[0]--;
^
user.cpp:40:6: warning: reference to local variable ‘ans’ returned [-Wreturn-local-addr]
HN ans;
^
user.cpp: In function ‘int main()’:
user.cpp:80:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.in", "r", stdin);
^
user.cpp:81:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dragonball.out", "w", stdout);
^
user.cpp:83:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ", &n, &t);
^
user.cpp: In member function ‘void HN::Read()’:
user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", a+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 19932kb | Incorect | 0 |
2 | 128ms | 19932kb | Incorect | 0 |
3 | 84ms | 19932kb | Incorect | 0 |
4 | 132ms | 19940kb | Incorect | 0 |
5 | 60ms | 19936kb | Incorect | 0 |
6 | 164ms | 19932kb | Incorect | 0 |
7 | 100ms | 19932kb | Incorect | 0 |
8 | 144ms | 19932kb | Incorect | 0 |
9 | 200ms | 19932kb | Incorect | 0 |
10 | 200ms | 19936kb | Incorect | 0 |
Punctaj total | 0 |