Borderou de evaluare (job #1250499)

Utilizator smaraldaSmaranda Dinu smaralda Data 28 octombrie 2014 10:46:11
Problema Senat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:29: warning: NULL used in arithmetic [-Wpointer-arith] for(j = 0; ln[j] != NULL; ++ j) ^ user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.in", "r", stdin); ^ user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("senat.out", "w", stdout); ^ user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ user.cpp:32:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(ln); ^ /tmp/ccw6FqfK.o: In function `main': user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbKilled by signal 11(SIGSEGV).0
20ms252kbKilled by signal 11(SIGSEGV).0
30ms252kbKilled by signal 11(SIGSEGV).0
40ms252kbKilled by signal 11(SIGSEGV).0
50ms248kbKilled by signal 11(SIGSEGV).0
60ms252kbKilled by signal 11(SIGSEGV).0
70ms248kbKilled by signal 11(SIGSEGV).0
80ms252kbKilled by signal 11(SIGSEGV).0
90ms272kbIncorect!0
100ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?