Pagini recente » Borderou de evaluare (job #1124591) | Borderou de evaluare (job #40110) | Borderou de evaluare (job #671991) | Borderou de evaluare (job #2250656) | Borderou de evaluare (job #1490399)
Borderou de evaluare (job #1490399)
Raport evaluator
Compilare:
user.cpp: In function ‘int lee(int, int)’:
user.cpp:50:81: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (aa[xx][yy]==-1||aa[xx][yy]>aa[X.f][X.s]+1&&xx>0&&yy>0&&xx<=n&&yy<=m)
^
user.cpp: In function ‘int main()’:
user.cpp:71:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=0; j<strlen(s); ++j)
^
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.in","r",stdin);
^
user.cpp:66:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.out","w",stdout);
^
user.cpp:67: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:70:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccnvPMtk.o: In function `main':
user.cpp:(.text.startup+0x92): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 356kb | OK! | 10 |
2 | 0ms | 340kb | OK! | 10 |
3 | 0ms | 344kb | OK! | 10 |
4 | 20ms | 368kb | Lungime minima gresita | 4 |
5 | 0ms | 416kb | OK! | 10 |
6 | 8ms | 380kb | Lungime minima gresita | 4 |
7 | 8ms | 416kb | Lungime minima gresita | 4 |
8 | 24ms | 436kb | Lungime minima gresita | 4 |
9 | 44ms | 376kb | Lungime minima gresita | 4 |
10 | 0ms | 380kb | Lungime minima gresita | 4 |
Punctaj total | 64 |