Borderou de evaluare (job #1219780)

Utilizator ZenusTudor Costin Razvan Zenus Data 15 august 2014 09:02:59
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:74: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:75: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:77:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&K); ^ user.cpp:78:8: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ user.cpp:90:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ /tmp/ccCGS7K7.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
10ms292kbOK10
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
70ms360kbKilled by signal 6(SIGABRT).0
816ms300kbOK10
90ms360kbKilled by signal 6(SIGABRT).0
100ms360kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?