Pagini recente » Borderou de evaluare (job #1213070) | Borderou de evaluare (job #2107041) | Borderou de evaluare (job #1644933) | Borderou de evaluare (job #1309586) | Borderou de evaluare (job #1789433)
Borderou de evaluare (job #1789433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:24: warning: unused variable ‘p’ [-Wunused-variable]
int n,m,k,sol=3000,p;
^
user.cpp:18:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.in","r",stdin);
^
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("map.out","w",stdout);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:23:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir[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:23:23:
/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/cc3zJbGt.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 5 |
2 | 0ms | 316kb | OK | 5 |
3 | 0ms | 316kb | OK | 5 |
4 | 0ms | 316kb | OK | 5 |
5 | 0ms | 468kb | OK | 5 |
6 | 0ms | 472kb | OK | 5 |
7 | 0ms | 472kb | OK | 5 |
8 | 0ms | 476kb | OK | 5 |
9 | 56ms | 3584kb | Incorect | 0 |
10 | 72ms | 4028kb | Incorect | 0 |
11 | 68ms | 4028kb | Incorect | 0 |
12 | 84ms | 4220kb | Incorect | 0 |
13 | 80ms | 4220kb | Incorect | 0 |
14 | 72ms | 3324kb | Incorect | 0 |
15 | 76ms | 3464kb | Incorect | 0 |
16 | 84ms | 3812kb | Incorect | 0 |
17 | 92ms | 4228kb | Incorect | 0 |
18 | 92ms | 4224kb | Incorect | 0 |
19 | 96ms | 4180kb | Incorect | 0 |
20 | 84ms | 3936kb | Incorect | 0 |
Punctaj total | 40 |