Pagini recente » Borderou de evaluare (job #2428780) | Borderou de evaluare (job #2362308) | Borderou de evaluare (job #3039368) | Borderou de evaluare (job #175782) | Borderou de evaluare (job #2454008)
Borderou de evaluare (job #2454008)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%d",&v[i][j]);
^
main.cpp:88:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if(next.l != lf || next.c != cf && !inQueue[next.l][next.c]){
~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:43:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.in", "r", stdin);
^
main.cpp:44:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("taxa.out", "w", stdout);
^
main.cpp:46:54: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd%hd%hd%hd",&N,&M,&l0,&c0,&lf,&cf);
^
main.cpp:51:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK | 10 |
2 | 4ms | 393kb | OK | 10 |
3 | 4ms | 393kb | OK | 10 |
4 | 12ms | 524kb | OK | 10 |
5 | 4ms | 393kb | OK | 10 |
6 | 9ms | 393kb | OK | 10 |
7 | 8ms | 655kb | OK | 10 |
8 | 52ms | 1310kb | OK | 10 |
9 | 133ms | 2621kb | OK | 10 |
10 | 237ms | 3145kb | OK | 10 |
Punctaj total | 100 |