Pagini recente » Borderou de evaluare (job #412116) | Borderou de evaluare (job #2421053) | Borderou de evaluare (job #973665) | Borderou de evaluare (job #2240720) | Borderou de evaluare (job #1703429)
Borderou de evaluare (job #1703429)
Raport evaluator
Compilare:
user.cpp: In function ‘void DinamicProgramming(int, int)’:
user.cpp:21:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp:15:27: warning: unused variable ‘sons’ [-Wunused-variable]
int i,j,sum,sum1,sum2,sons=0,first=1,x;
^
user.cpp: In function ‘int main()’:
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autostrazi.in","r",stdin);
^
user.cpp:53:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autostrazi.out","w",stdout);
^
user.cpp:55:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&s,&k);
^
user.cpp:57:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&value[i]);
^
user.cpp:60: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 | 288kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 316kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 0ms | 368kb | OK | 10 |
6 | 0ms | 348kb | OK | 10 |
7 | 0ms | 336kb | OK | 10 |
8 | 0ms | 348kb | OK | 10 |
9 | 0ms | 348kb | OK | 10 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 100 |