Borderou de evaluare (job #1800860)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 8 noiembrie 2016 11:01:38
Problema Car Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("car.in", "r", stdin); ^ user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("car.out", "w", stdout); ^ user.cpp:49: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:50:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n", &xi, &yi, &xf, &yf); ^ user.cpp:56:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(ch+1); ^ /tmp/ccTNCD40.o: In function `main': user.cpp:(.text.startup+0xe8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms8680kbOk!10
28ms8680kbOk!10
316ms8888kbOk!10
416ms8844kbOk!10
54ms644kbKilled by signal 6(SIGABRT).0
64ms644kbKilled by signal 6(SIGABRT).0
74ms644kbKilled by signal 6(SIGABRT).0
84ms644kbKilled by signal 6(SIGABRT).0
94ms648kbKilled by signal 6(SIGABRT).0
104ms644kbKilled by signal 6(SIGABRT).0
Punctaj total40

Ceva nu functioneaza?