Borderou de evaluare (job #1748265)

Utilizator sebi212Sebi nechita sebi212 Data 26 august 2016 11:56:28
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:68:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d",&D); ^ user.cpp:62: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:63:35: 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:65:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:68:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d",&D); ^ /tmp/ccQLfgS1.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms8100kbOK10
28ms8096kbOK10
38ms8100kbOK10
412ms8108kbOK10
516ms8132kbOK10
636msDepăşitMemory limit exceeded.0
780msDepăşitMemory limit exceeded.0
844msDepăşitMemory limit exceeded.0
944msDepăşitMemory limit exceeded.0
1044msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?