Pagini recente » Borderou de evaluare (job #1150278) | Borderou de evaluare (job #1715741) | Borderou de evaluare (job #458244) | Borderou de evaluare (job #2037708) | Borderou de evaluare (job #1713007)
Borderou de evaluare (job #1713007)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:24:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:114:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<nodes[j].size();i++)
^
user.cpp:117:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<nodes[j].size();i++){
^
user.cpp:122:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<v.size();i++){
^
user.cpp:91:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdist.in","r",stdin);
^
user.cpp:92:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kdist.out","w",stdout);
^
user.cpp:94:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:96: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:101:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&color[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 5036kb | OK | 10 |
2 | 8ms | 5332kb | OK | 10 |
3 | 32ms | 8152kb | OK | 10 |
4 | 28ms | 8400kb | OK | 10 |
5 | 220ms | 24040kb | OK | 10 |
6 | 304ms | 30324kb | OK | 10 |
7 | 648ms | 52912kb | OK | 10 |
8 | 712ms | 56080kb | OK | 10 |
9 | 900ms | 68684kb | OK | 10 |
10 | 896ms | 68684kb | OK | 10 |
Punctaj total | 100 |