Borderou de evaluare (job #1694515)

Utilizator Alexa2001Alexa Tudose Alexa2001 Data 25 aprilie 2016 15:55:00
Problema Tort3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

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/ccafxPYX.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
10ms296kbOK5
20ms292kbOK5
30ms360kbOK5
40ms364kbOK5
50ms328kbOK5
60ms360kbOK5
7Depăşit1488kbTime limit exceeded.0
8Depăşit1480kbTime limit exceeded.0
9Depăşit1460kbTime limit exceeded.0
10Depăşit1236kbTime limit exceeded.0
11Depăşit1440kbTime limit exceeded.0
12Depăşit1108kbTime limit exceeded.0
13Depăşit1284kbTime limit exceeded.0
14Depăşit1436kbTime limit exceeded.0
15Depăşit1484kbTime limit exceeded.0
16Depăşit1380kbTime limit exceeded.0
17Depăşit1488kbTime limit exceeded.0
18Depăşit1312kbTime limit exceeded.0
19Depăşit1368kbTime limit exceeded.0
20Depăşit1480kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?