Borderou de evaluare (job #2045646)

Utilizator andru47Stefanescu Andru andru47 Data 22 octombrie 2017 17:39:42
Problema Ninjago Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ninjago.in" , "r", stdin); ^ user.cpp:42:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ninjago.out" , "w", stdout); ^ user.cpp:44:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &instr); ^ user.cpp:45:29: 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:48:71: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &edge[i].second.first, &edge[i].second.second); ^ user.cpp:49:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/ccyr92eW.o: In function `main': user.cpp:(.text.startup+0xbf): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1476kbKilled by signal 6(SIGABRT).0
24ms1472kbKilled by signal 6(SIGABRT).0
34ms1472kbKilled by signal 6(SIGABRT).0
44ms1472kbKilled by signal 6(SIGABRT).0
54ms1476kbKilled by signal 6(SIGABRT).0
64ms1472kbKilled by signal 6(SIGABRT).0
74ms1472kbKilled by signal 6(SIGABRT).0
84ms1472kbKilled by signal 6(SIGABRT).0
94ms1476kbKilled by signal 6(SIGABRT).0
104ms1472kbKilled by signal 6(SIGABRT).0
114ms1476kbKilled by signal 6(SIGABRT).0
124ms1472kbKilled by signal 6(SIGABRT).0
134ms1476kbKilled by signal 6(SIGABRT).0
144ms1472kbKilled by signal 6(SIGABRT).0
154ms1472kbKilled by signal 6(SIGABRT).0
164ms1476kbKilled by signal 6(SIGABRT).0
174ms1476kbKilled by signal 6(SIGABRT).0
184ms1476kbKilled by signal 6(SIGABRT).0
194ms1476kbKilled by signal 6(SIGABRT).0
204ms1476kbKilled by signal 6(SIGABRT).0
214ms1468kbKilled by signal 6(SIGABRT).0
224ms1472kbKilled by signal 6(SIGABRT).0
234ms1472kbKilled by signal 6(SIGABRT).0
244ms1476kbKilled by signal 6(SIGABRT).0
254ms1472kbKilled by signal 6(SIGABRT).0
264ms1472kbKilled by signal 6(SIGABRT).0
274ms1472kbKilled by signal 6(SIGABRT).0
284ms1472kbKilled by signal 6(SIGABRT).0
294ms1472kbKilled by signal 6(SIGABRT).0
304ms1472kbKilled by signal 6(SIGABRT).0
314ms1472kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?