Pagini recente » Borderou de evaluare (job #2348443) | Borderou de evaluare (job #2386600) | Borderou de evaluare (job #1995580) | Borderou de evaluare (job #2181035) | Borderou de evaluare (job #1875102)
Borderou de evaluare (job #1875102)
Raport evaluator
Compilare:
user.cpp: In function ‘void lee()’:
user.cpp:25:39: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (sol[X.f+misc][X.s]==0 && X.f + misc <= n||suma[X.f][X.s] + cost[X.f+misc][X.s]>suma[X.f+misc][X.s])
^
user.cpp:43:38: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (sol[X.f][X.s+misc]==0&&X.s+misc <= n||suma[X.f][X.s] + cost[X.f][X.s+misc]>suma[X.f][X.s+misc])
^
user.cpp: In function ‘int main()’:
user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.in","r",stdin);
^
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sudest.out","w",stdout);
^
user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:69:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &cost[i][j]);
^
user.cpp:70:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:72:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &miscari[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OKAY! | 10 |
2 | 0ms | 492kb | OKAY! | 10 |
3 | 0ms | 508kb | OKAY! | 10 |
4 | 0ms | 524kb | OKAY! | 10 |
5 | 0ms | 548kb | OKAY! | 10 |
6 | 0ms | 576kb | OKAY! | 10 |
7 | 0ms | 604kb | OKAY! | 10 |
8 | 0ms | 628kb | OKAY! | 10 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | 464kb | OKAY! | 10 |
Punctaj total | 90 |