Pagini recente » Borderou de evaluare (job #262633) | Borderou de evaluare (job #232591) | Borderou de evaluare (job #588044) | Borderou de evaluare (job #1170326) | Borderou de evaluare (job #1534012)
Borderou de evaluare (job #1534012)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:18: warning: unused variable ‘y’ [-Wunused-variable]
unsigned i,x,y,n,m,e,j;
^
user.cpp:37:24: warning: unused variable ‘e’ [-Wunused-variable]
unsigned i,x,y,n,m,e,j;
^
user.cpp:35:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paznici.in","r",stdin);
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paznici.out","w",stdout);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u\n",&n,&m);
^
user.cpp:42:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:42:22:
/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/ccT7hLon.o: In function `main':
user.cpp:(.text.startup+0x95): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 4 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 288kb | OK | 4 |
4 | 0ms | 288kb | OK | 4 |
5 | 0ms | 288kb | OK | 4 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 284kb | Incorect | 0 |
8 | 0ms | 284kb | Incorect | 0 |
9 | 0ms | 284kb | OK | 4 |
10 | 0ms | 284kb | OK | 4 |
11 | 0ms | 280kb | OK | 4 |
12 | 0ms | 284kb | OK | 4 |
13 | 0ms | 288kb | Incorect | 0 |
14 | 0ms | 288kb | Incorect | 0 |
15 | 0ms | 280kb | OK | 4 |
16 | 0ms | 284kb | Incorect | 0 |
17 | 0ms | 284kb | OK | 4 |
18 | 0ms | 284kb | OK | 4 |
19 | 0ms | 288kb | Incorect | 0 |
20 | 0ms | 288kb | Incorect | 0 |
21 | 0ms | 284kb | OK | 4 |
22 | 0ms | 284kb | OK | 4 |
23 | 0ms | 284kb | OK | 4 |
24 | 0ms | 284kb | OK | 4 |
25 | 0ms | 284kb | OK | 4 |
Punctaj total | 64 |