Pagini recente » Borderou de evaluare (job #472557) | Borderou de evaluare (job #1247093) | Borderou de evaluare (job #2334658) | Borderou de evaluare (job #1583589) | Borderou de evaluare (job #1747634)
Borderou de evaluare (job #1747634)
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+(const HugeN&)’:
user.cpp:59: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:64:16: warning: unused variable ‘aux’ [-Wunused-variable]
int i,nr=0,aux;
^
user.cpp: In function ‘int main()’:
user.cpp:79: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:80: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:82:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:83:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &k);
^
/tmp/cc6R0Cgg.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 | 4ms | 3204kb | OK | 10 |
| 2 | 4ms | 3204kb | OK | 10 |
| 3 | 0ms | 260kb | Incorect | 0 |
| 4 | 0ms | 276kb | Incorect | 0 |
| 5 | 0ms | 328kb | Incorect | 0 |
| 6 | 0ms | 460kb | Incorect | 0 |
| 7 | 0ms | 768kb | Incorect | 0 |
| 8 | 4ms | 1556kb | Incorect | 0 |
| 9 | 4ms | 2020kb | Incorect | 0 |
| 10 | 8ms | 4176kb | Incorect | 0 |
| Punctaj total | 20 |