Pagini recente » Borderou de evaluare (job #905062) | Borderou de evaluare (job #1993687) | Borderou de evaluare (job #2781145) | Borderou de evaluare (job #3174736) | Borderou de evaluare (job #1238666)
Borderou de evaluare (job #1238666)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(long int)’:
user.cpp:32:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<list[nod].size();i++){
^
user.cpp: In function ‘int main()’:
user.cpp:71:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(list[x].size() == v-1) root = x;
^
user.cpp:61:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divisorgraph.in","r",stdin);
^
user.cpp:62:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divisorgraph.out","w",stdout);
^
user.cpp:64:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:67:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&v,&e);
^
user.cpp:69:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 884kb | OK | 10 | 30 |
2 | 0ms | 876kb | OK | 10 |
3 | 0ms | 884kb | OK | 10 |
4 | 412ms | 4272kb | OK | 10 | 70 |
5 | 472ms | 4664kb | OK | 10 |
6 | 548ms | 4592kb | OK | 10 |
7 | 388ms | 3696kb | OK | 10 |
8 | 404ms | 4056kb | OK | 10 |
9 | 528ms | 4348kb | OK | 10 |
10 | 468ms | 4040kb | OK | 10 |
Punctaj total | 100 |