Borderou de evaluare (job #2014781)

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

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/ccEUByqg.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
10ms496kbOK10
24ms2132kbOK10
324ms9916kbOK10
4152ms62016kbOK10
5Depăşit89476kbTime limit exceeded.0
6Depăşit79312kbTime limit exceeded.0
7Depăşit60968kbTime limit exceeded.0
8Depăşit60308kbTime limit exceeded.0
9Depăşit58984kbTime limit exceeded.0
10Depăşit61628kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?