Borderou de evaluare (job #1278221)

Utilizator geniucosOncescu Costin geniucos Data 28 noiembrie 2014 17:00:10
Problema Sccm Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:93:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("sccm.in", "r", stdin); ^ user.cpp:94:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("sccm.out", "w", stdout); ^ user.cpp:95: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:96:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir+1), po = 1; ^ user.cpp:103:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets (sir+1), po = 1; ^ /tmp/ccNOlxhY.o: In function `main': user.cpp:(.text.startup+0x7b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbOK10
20ms292kbOK10
30ms312kbOK10
40ms324kbOK10
50ms780kbOK10
6Depăşit1748kbTime limit exceeded.0
7Depăşit2136kbTime limit exceeded.0
8Depăşit2472kbTime limit exceeded.0
9Depăşit2584kbTime limit exceeded.0
10Depăşit2736kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?