Borderou de evaluare (job #1694537)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 25 aprilie 2016 16:11:03
Problema Tort3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tort3.in", "r", stdin); ^ user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tort3.out", "w", stdout); ^ user.cpp:16:28: 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:18:37: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1; i<=n; ++i) gets(a[i]+1); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:18:37: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccaeZGX4.o: In function `main': user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOK5
20ms292kbOK5
30ms364kbOK5
40ms360kbOK5
50ms332kbOK5
60ms356kbOK5
7Depăşit1488kbTime limit exceeded.0
8Depăşit1484kbTime limit exceeded.0
9Depăşit1456kbTime limit exceeded.0
10Depăşit1236kbTime limit exceeded.0
11Depăşit1436kbTime limit exceeded.0
12380ms1132kbOK5
13Depăşit1292kbTime limit exceeded.0
14Depăşit1432kbTime limit exceeded.0
15Depăşit1484kbTime limit exceeded.0
16Depăşit1380kbTime limit exceeded.0
17Depăşit1496kbTime limit exceeded.0
18Depăşit1312kbTime limit exceeded.0
19Depăşit1380kbTime limit exceeded.0
20Depăşit1480kbTime limit exceeded.0
Punctaj total35

Ceva nu functioneaza?