Borderou de evaluare (job #1219631)

Utilizator ZenusTudor Costin Razvan Zenus Data 14 august 2014 18:11:13
Problema Lant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:97:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",f[1]); ^ user.cpp:71:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lant.in","r",stdin); ^ user.cpp:72:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lant.out","w",stdout); ^ user.cpp:74:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&K); ^ user.cpp:75:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ user.cpp:87:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccvt6S6K.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
10ms296kbOK10
20ms360kbKilled by signal 6(SIGABRT).0
30ms352kbKilled by signal 6(SIGABRT).0
40ms356kbKilled by signal 6(SIGABRT).0
50ms300kbOK10
60ms364kbKilled by signal 6(SIGABRT).0
70ms364kbKilled by signal 6(SIGABRT).0
816ms304kbOK10
90ms352kbKilled by signal 6(SIGABRT).0
100ms348kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?