Borderou de evaluare (job #1747201)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 24 august 2016 16:42:12
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In member function ‘HugeN HugeN::operator+(int)’: user.cpp:32:9: warning: unused variable ‘r’ [-Wunused-variable] int i, r = 0, aux; ^ user.cpp: In member function ‘long long int HugeN::operator%(long long int)’: user.cpp:81:19: warning: unused variable ‘aux’ [-Wunused-variable] long long r = 0, aux; ^ user.cpp: In function ‘int main()’: user.cpp:89:9: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp:87:32: 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:88:34: 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:91:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:93:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &d); ^ /tmp/ccjO6rcQ.o: In function `main': user.cpp:(.text.startup+0x61): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms4188kbOK10
28ms4188kbOK10
30ms292kbOK10
40ms316kbOK10
50ms300kbIncorect0
60ms368kbIncorect0
70ms524kbIncorect0
816ms4836kbIncorect0
94ms1148kbIncorect0
1020ms5164kbIncorect0
Punctaj total40

Ceva nu functioneaza?