Pagini recente » Borderou de evaluare (job #2135042) | Borderou de evaluare (job #542148) | Borderou de evaluare (job #2088375) | Borderou de evaluare (job #1040971) | Borderou de evaluare (job #1255765)
Borderou de evaluare (job #1255765)
Raport evaluator
Compilare:
user.cpp: In function ‘void BOR()’:
user.cpp:21:10: warning: unused variable ‘j’ [-Wunused-variable]
int i,s,j,dc[pmax],dt[pmax],dp[nmax],Q[pmax];
^
user.cpp:21:30: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable]
int i,s,j,dc[pmax],dt[pmax],dp[nmax],Q[pmax];
^
user.cpp: In function ‘int main()’:
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
user.cpp:44:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&p,&k);
^
user.cpp:46:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&t[i],&cost[i]);
^
user.cpp:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | Incorect | 0 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 8ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | 1012kb | Incorect | 0 |
5 | 8ms | 736kb | Incorect | 0 |
6 | 0ms | 548kb | Incorect | 0 |
7 | 0ms | 656kb | Incorect | 0 |
8 | 0ms | 452kb | Incorect | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 12ms | 848kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |