Borderou de evaluare (job #1401736)

Utilizator TimitocArdelean Andrei Timotei Timitoc Data 26 martie 2015 09:05:57
Problema Text2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:91:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text.in", "r", stdin); ^ user.cpp:92:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text.out", "w", stdout); ^ user.cpp:94:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:95:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ /tmp/ccZQM2ZB.o: In function `main': user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms400kbKilled by signal 11(SIGSEGV).0
20ms396kbKilled by signal 11(SIGSEGV).0
30ms396kbKilled by signal 11(SIGSEGV).0
40ms396kbKilled by signal 11(SIGSEGV).0
50ms396kbKilled by signal 11(SIGSEGV).0
60ms392kbKilled by signal 11(SIGSEGV).0
70ms396kbKilled by signal 11(SIGSEGV).0
80ms400kbKilled by signal 11(SIGSEGV).0
90ms396kbKilled by signal 11(SIGSEGV).0
100ms396kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?