Borderou de evaluare (job #2014775)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 24 august 2017 13:29:24
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:57:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.in", "r", stdin); ^ user.cpp:58:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.out", "w", stdout); ^ user.cpp:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:66:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:82:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &m); ^ user.cpp:86:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/ccTU9aJ5.o: In function `main': user.cpp:(.text.startup+0xc5): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms500kbOK10
24ms2128kbOK10
320ms9900kbOK10
4148ms61956kbIncorect0
5Depăşit87100kbTime limit exceeded.0
6Depăşit82224kbTime limit exceeded.0
7Depăşit64140kbTime limit exceeded.0
8Depăşit61756kbTime limit exceeded.0
9Depăşit60572kbTime limit exceeded.0
10Depăşit60972kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?