Pagini recente » Borderou de evaluare (job #357043) | Borderou de evaluare (job #1206498) | Borderou de evaluare (job #570563) | Borderou de evaluare (job #996194) | Borderou de evaluare (job #1747648)
Borderou de evaluare (job #1747648)
Raport evaluator
Compilare:
user.cpp: In constructor ‘HugeN::HugeN(int)’:
user.cpp:21:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x[++x[0]]=nr%10;
^
user.cpp: In member function ‘HugeN HugeN::operator+(long long int)’:
user.cpp:60:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
temp.x[++temp.x[0]]=tr;
^
user.cpp: In member function ‘long long int HugeN::operator%(long long int)’:
user.cpp:65:16: warning: unused variable ‘aux’ [-Wunused-variable]
int i,nr=0,aux;
^
user.cpp: In function ‘int main()’:
user.cpp:80:34: 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:81:36: 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:83:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:84:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &k);
^
/tmp/ccqT3h3T.o: In function `main':
user.cpp:(.text.startup+0x6c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2228kb | OK | 10 |
2 | 0ms | 2228kb | OK | 10 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 332kb | Incorect | 0 |
6 | 0ms | 456kb | Incorect | 0 |
7 | 0ms | 776kb | Incorect | 0 |
8 | 4ms | 1572kb | Incorect | 0 |
9 | 4ms | 2028kb | Incorect | 0 |
10 | 8ms | 3204kb | Incorect | 0 |
Punctaj total | 20 |