Pagini recente » Borderou de evaluare (job #1323119) | Borderou de evaluare (job #1553043) | Borderou de evaluare (job #2634166) | Borderou de evaluare (job #1236737) | Borderou de evaluare (job #1681114)
Borderou de evaluare (job #1681114)
Raport evaluator
Compilare:
user.cpp: In function ‘void addGraph1(int)’:
user.cpp:25:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, nx, ny;
^
user.cpp: In function ‘void addGraph2(int)’:
user.cpp:37:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, nx, ny;
^
user.cpp: In function ‘int main()’:
user.cpp:67:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mapal.in", "r", stdin);
^
user.cpp:68:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mapal.out", "w", stdout);
^
user.cpp:70:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%c", &n, &blank);
^
user.cpp:73:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (s [i] + 1);
^
user.cpp:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &l);
^
user.cpp:77:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
user.cpp:80:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &c);
^
user.cpp:82:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
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:73:25:
/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/cc6H9KLt.o: In function `main':
user.cpp:(.text.startup+0x8d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 12120kb | OK | 10 |
2 | 40ms | Depăşit | Memory limit exceeded. | 0 |
3 | 64ms | Depăşit | Memory limit exceeded. | 0 |
4 | 32ms | 13052kb | OK | 10 |
5 | 92ms | Depăşit | Memory limit exceeded. | 0 |
6 | 40ms | Depăşit | Memory limit exceeded. | 0 |
7 | 16ms | 12324kb | OK | 10 |
8 | 40ms | Depăşit | Memory limit exceeded. | 0 |
9 | 40ms | Depăşit | Memory limit exceeded. | 0 |
10 | 40ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |