Borderou de evaluare (job #1334371)

Utilizator akaprosAna Kapros akapros Data 4 februarie 2015 12:09:08
Problema Matrix Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("matrix.in","r",stdin); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("matrix.out","w",stdout); ^ user.cpp:15:27: 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:19:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(v[i]+1); ^ user.cpp:22:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+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:19:17: /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/ccMmUXJy.o: In function `main': user.cpp:(.text.startup+0xdc): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x11f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1320kbOK5
20ms1384kbOK5
30ms1468kbOK5
40ms1564kbOK5
50ms1656kbOK5
60ms1756kbOK5
74ms1860kbOK5
84ms2008kbOK5
94ms2200kbOK5
108ms2244kbOK5
1112ms2732kbOK5
1224ms3224kbOK5
1336ms3712kbOK5
1456ms4208kbOK5
15136ms5180kbOK5
1692ms5184kbOK5
17184ms6152kbOK5
18112ms6148kbOK5
19144ms6152kbOK5
20136ms6148kbOK5
Punctaj total100

Ceva nu functioneaza?