Borderou de evaluare (job #1552555)

Utilizator SmarandaMaria Pandele Smaranda Data 18 decembrie 2015 11:26:28
Problema Cartonase Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cartonase.in", "r", stdin); ^ user.cpp:13:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("cartonase.out", "w", stdout); ^ user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &T); ^ user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &n); ^ user.cpp:20:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (s); ^ /tmp/ccOHWQqf.o: In function `main': user.cpp:(.text.startup+0x9a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms256kbOK10
30ms260kbOK10
40ms352kbKilled by signal 6(SIGABRT).0
50ms352kbKilled by signal 6(SIGABRT).0
60ms352kbKilled by signal 6(SIGABRT).0
70ms352kbKilled by signal 6(SIGABRT).0
80ms352kbKilled by signal 6(SIGABRT).0
90ms344kbKilled by signal 6(SIGABRT).0
100ms348kbKilled by signal 6(SIGABRT).0
Punctaj total30

Ceva nu functioneaza?