Borderou de evaluare (job #1778145)

Utilizator Sanduleac_VladSanduleac Vllad Alexandru Sanduleac_Vlad Data 13 octombrie 2016 15:45:45
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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/ccwTRtuH.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
18ms4196kbIncorect0
28ms4200kbIncorect0
38ms4204kbIncorect0
412ms4240kbIncorect0
516ms4320kbIncorect0
636ms4584kbIncorect0
7100ms5232kbIncorect0
8232ms6808kbIncorect0
9316ms7724kbIncorect0
10344ms8108kbIncorect0
Punctaj total0

Ceva nu functioneaza?