Pagini recente » Borderou de evaluare (job #2194139) | Borderou de evaluare (job #778727) | Borderou de evaluare (job #880386) | Borderou de evaluare (job #2175140) | Borderou de evaluare (job #1490400)
Borderou de evaluare (job #1490400)
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/ccOQ0l5m.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 | 352kb | OK! | 10 |
2 | 0ms | 344kb | OK! | 10 |
3 | 0ms | 348kb | OK! | 10 |
4 | 16ms | 368kb | OK! | 10 |
5 | 0ms | 412kb | OK! | 10 |
6 | 12ms | 380kb | OK! | 10 |
7 | 36ms | 420kb | OK! | 10 |
8 | 20ms | 432kb | OK! | 10 |
9 | 36ms | 376kb | Lungime minima gresita | 4 |
10 | 24ms | 376kb | OK! | 10 |
Punctaj total | 94 |