Borderou de evaluare (job #1687843)

Utilizator bogoismarandaBogoi Smaranda bogoismaranda Data 13 aprilie 2016 09:19:59
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d", & d); ^ user.cpp:42:33: 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:43:31: 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:47:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir); ^ user.cpp:53:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d", & d); ^ /tmp/ccC5dqNR.o: In function `main': user.cpp:(.text.startup+0x68): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms280kbOK10
30ms288kbOK10
40ms336kbOK10
58ms444kbOK10
624ms768kbOK10
768ms1556kbIncorect0
8176ms3536kbIncorect0
9244ms4676kbIncorect0
10264ms5152kbIncorect0
Punctaj total60

Ceva nu functioneaza?