Borderou de evaluare (job #1569584)

Utilizator tudorcomanTudor Coman tudorcoman Data 15 ianuarie 2016 19:03:11
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.in", "r", stdin); ^ user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratina.out", "w", stdout); ^ user.cpp:57:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &N, &Q); ^ user.cpp:59:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v[i]); ^ user.cpp:65:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &ind[i]); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:59:15: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccAMB1AB.o: In function `main': user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1056kbKilled by signal 6(SIGABRT).0
28ms1140kbKilled by signal 6(SIGABRT).0
34ms1332kbKilled by signal 6(SIGABRT).0
44ms1328kbKilled by signal 6(SIGABRT).0
54ms1284kbKilled by signal 6(SIGABRT).0
64ms1288kbKilled by signal 6(SIGABRT).0
78ms3020kbKilled by signal 6(SIGABRT).0
88ms3092kbKilled by signal 6(SIGABRT).0
98ms3092kbKilled by signal 6(SIGABRT).0
104ms1144kbKilled by signal 6(SIGABRT).0
114ms928kbKilled by signal 6(SIGABRT).0
128ms1412kbKilled by signal 6(SIGABRT).0
138ms1148kbKilled by signal 6(SIGABRT).0
144ms1308kbKilled by signal 6(SIGABRT).0
154ms1152kbKilled by signal 6(SIGABRT).0
1632ms21328kbKilled by signal 6(SIGABRT).0
1732ms21452kbKilled by signal 6(SIGABRT).0
1832ms21500kbKilled by signal 6(SIGABRT).0
1932ms21348kbKilled by signal 6(SIGABRT).0
2028ms21336kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?