Borderou de evaluare (job #1471766)

Utilizator theprdvtheprdv theprdv Data 15 august 2015 07:35:15
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:48:34: 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:49:36: 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:52:26: 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:54:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(W[i].A); ^ user.cpp:67:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &t); ^ user.cpp:70:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v); ^ /tmp/cc5L2Po2.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms2152kbKilled by signal 6(SIGABRT).0
28ms2152kbKilled by signal 6(SIGABRT).0
34ms2468kbKilled by signal 6(SIGABRT).0
44ms2468kbKilled by signal 6(SIGABRT).0
54ms2464kbKilled by signal 6(SIGABRT).0
64ms2464kbKilled by signal 6(SIGABRT).0
74ms3064kbKilled by signal 6(SIGABRT).0
84ms3084kbKilled by signal 6(SIGABRT).0
94ms3048kbKilled by signal 6(SIGABRT).0
108ms2148kbKilled by signal 6(SIGABRT).0
118ms2148kbKilled by signal 6(SIGABRT).0
128ms2132kbKilled by signal 6(SIGABRT).0
138ms2148kbKilled by signal 6(SIGABRT).0
148ms2132kbKilled by signal 6(SIGABRT).0
158ms2148kbKilled by signal 6(SIGABRT).0
1684msDepăşitMemory limit exceeded.0
1776msDepăşitMemory limit exceeded.0
1876msDepăşitMemory limit exceeded.0
1976msDepăşitMemory limit exceeded.0
2076msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?