Borderou de evaluare (job #1182690)

Utilizator PopescuMihai95Popescu Mihai PopescuMihai95 Data 7 mai 2014 09:28:48
Problema Parpal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parpal.in","r",stdin); ^ user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parpal.out","w",stdout); ^ user.cpp:33:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:36:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); n=strlen(s+1); nr=0; i=1; j=2; ok1=0; ^ /tmp/ccn4boXY.o: In function `main': user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbKilled by signal 11(SIGSEGV).0
20ms236kbKilled by signal 11(SIGSEGV).0
30ms324kbKilled by signal 11(SIGSEGV).0
40ms324kbKilled by signal 11(SIGSEGV).0
50ms324kbKilled by signal 11(SIGSEGV).0
60ms424kbKilled by signal 6(SIGABRT).0
70ms424kbKilled by signal 6(SIGABRT).0
80ms424kbKilled by signal 6(SIGABRT).0
90ms428kbKilled by signal 6(SIGABRT).0
100ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?