Pagini recente » Borderou de evaluare (job #371959) | Borderou de evaluare (job #1975874) | Borderou de evaluare (job #2539090) | Borderou de evaluare (job #2554117) | Borderou de evaluare (job #1304158)
Borderou de evaluare (job #1304158)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.in","r",stdin);
^
user.cpp:43:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rj.out","w",stdout);
^
user.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d%c",&m,&n,&c);
^
user.cpp:50:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:70:21: warning: ‘pr.poz::y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lee(pr.x,pr.y,r);
^
user.cpp:74:21: warning: ‘pj.poz::x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lee(pj.x,pj.y,j);
^
user.cpp:70:21: warning: ‘pr.poz::x’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lee(pr.x,pr.y,r);
^
user.cpp:74:21: warning: ‘pj.poz::y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lee(pj.x,pj.y,j);
^
/tmp/ccNQ08du.o: In function `main':
user.cpp:(.text.startup+0xb0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 288kb | OK | 10 | 50 |
2 | 0ms | 332kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 0ms | 368kb | OK | 10 |
5 | 0ms | 404kb | OK | 10 |
6 | 0ms | 328kb | OK | 10 | 50 |
7 | 0ms | 340kb | OK | 10 |
8 | 0ms | 352kb | OK | 10 |
9 | 0ms | 276kb | OK | 10 |
10 | 0ms | 300kb | OK | 10 |
Punctaj total | 100 |