Pagini recente » Borderou de evaluare (job #14260) | Borderou de evaluare (job #1412091) | Borderou de evaluare (job #308723) | Borderou de evaluare (job #1306581) | Borderou de evaluare (job #1778182)
Borderou de evaluare (job #1778182)
Raport evaluator
Compilare:
user.cpp: In member function ‘HugeN HugeN::operator*(int)’:
user.cpp:134:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In member function ‘HugeN HugeN::operator*=(int)’:
user.cpp:150:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:198:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, j;
^
user.cpp:198:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:199: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:200: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:202:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:205:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n", &D);
^
user.cpp: In member function ‘int HugeN::cmp(const HugeN&)’:
user.cpp:76:11: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(x[i] > other.x[i])
^
user.cpp: In member function ‘bool HugeN::operator>(const HugeN&)’:
user.cpp:76:11: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:71:9: note: ‘i’ was declared here
int i;
^
/tmp/ccxWdjF7.o: In function `main':
user.cpp:(.text.startup+0x6e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 4196kb | OK | 10 |
2 | 8ms | 4200kb | OK | 10 |
3 | 8ms | 4204kb | OK | 10 |
4 | 8ms | 4236kb | OK | 10 |
5 | 16ms | 4332kb | OK | 10 |
6 | 36ms | 4592kb | OK | 10 |
7 | 84ms | 5224kb | OK | 10 |
8 | 208ms | 6808kb | OK | 10 |
9 | 284ms | 7724kb | OK | 10 |
10 | 308ms | 8108kb | OK | 10 |
Punctaj total | 100 |