Borderou de evaluare (job #1512686)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 28 octombrie 2015 15:06:05
Problema Rps Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void insertTrie(Trie*, char*)’: user.cpp:56:15: warning: NULL used in arithmetic [-Wpointer-arith] if (*s == NULL) { ^ user.cpp: In function ‘int ord(char)’: user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘char ch(int)’: user.cpp:27:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:107:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("rps.in", "r", stdin); ^ user.cpp:108:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("rps.out", "w", stdout); ^ user.cpp:110:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d%d ", &N, &K, &W, &D); ^ user.cpp:113:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/ccrqWH3M.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbKilled by signal 11(SIGSEGV).0
20ms248kbKilled by signal 11(SIGSEGV).0
30ms256kbKilled by signal 11(SIGSEGV).0
40ms252kbKilled by signal 11(SIGSEGV).0
50ms252kbKilled by signal 11(SIGSEGV).0
60ms252kbKilled by signal 11(SIGSEGV).0
70ms524kbKilled by signal 11(SIGSEGV).0
80ms528kbKilled by signal 11(SIGSEGV).0
90ms528kbKilled by signal 11(SIGSEGV).0
100ms512kbKilled by signal 11(SIGSEGV).0
110ms256kbKilled by signal 11(SIGSEGV).0
120ms260kbKilled by signal 11(SIGSEGV).0
130ms256kbKilled by signal 11(SIGSEGV).0
140ms256kbKilled by signal 11(SIGSEGV).0
150ms308kbKilled by signal 11(SIGSEGV).0
160ms304kbKilled by signal 11(SIGSEGV).0
170ms304kbKilled by signal 11(SIGSEGV).0
180ms308kbKilled by signal 11(SIGSEGV).0
1912ms5816kbKilled by signal 11(SIGSEGV).0
200ms248kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?