Pagini recente » Borderou de evaluare (job #364053) | Borderou de evaluare (job #1263961) | Borderou de evaluare (job #1345292) | Borderou de evaluare (job #1971821) | Borderou de evaluare (job #1730106)
Borderou de evaluare (job #1730106)
Raport evaluator
Compilare:
user.cpp: In function ‘void Compute(int&, int&, int*, int*, int*)’:
user.cpp:26:35: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(independentSet,0,sizeof(independentSet));
^
user.cpp:27:27: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(clique,0,sizeof(clique));
^
user.cpp: In function ‘int main()’:
user.cpp:76:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc.in","r",stdin);
^
user.cpp:77:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("soc.out","w",stdout);
^
user.cpp:79:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:81:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&value[i]);
^
user.cpp:85:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
user.cpp: In function ‘void Compute(int&, int&, int*, int*, int*)’:
user.cpp:36:29: warning: ‘which’ may be used uninitialized in this function [-Wmaybe-uninitialized]
independentSet[which]=clique[which]=1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK! | 5 |
2 | 60ms | 588kb | OK! | 5 |
3 | 0ms | 324kb | OK! | 5 |
4 | 0ms | 328kb | OK! | 5 |
5 | 0ms | 408kb | OK! | 5 |
6 | 4ms | 516kb | OK! | 5 |
7 | 8ms | 556kb | OK! | 5 |
8 | 4ms | 440kb | OK! | 5 |
9 | 4ms | 448kb | OK! | 5 |
10 | 20ms | 712kb | OK! | 5 |
11 | 32ms | 556kb | OK! | 5 |
12 | 28ms | 540kb | OK! | 5 |
13 | 44ms | 596kb | OK! | 5 |
14 | 56ms | 644kb | OK! | 5 |
15 | 68ms | 604kb | OK! | 5 |
16 | 72ms | 640kb | OK! | 5 |
17 | 92ms | 616kb | OK! | 5 |
18 | 84ms | 620kb | OK! | 5 |
19 | 64ms | 608kb | OK! | 5 |
20 | 64ms | 600kb | OK! | 5 |
Punctaj total | 100 |