Pagini recente » Borderou de evaluare (job #2365724) | Borderou de evaluare (job #1768255) | Borderou de evaluare (job #1870780) | Borderou de evaluare (job #3197841) | Borderou de evaluare (job #1775089)
Borderou de evaluare (job #1775089)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:16:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<soncost.size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:21:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.in","r",stdin);
^
user.cpp:22:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dosare.out","w",stdout);
^
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
v[x].push_back(i);
^
user.cpp:28:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 640kb | OK | 10 |
2 | 0ms | 644kb | OK | 10 |
3 | 0ms | 644kb | OK | 10 |
4 | 0ms | 652kb | OK | 10 |
5 | 0ms | 660kb | OK | 10 |
6 | 0ms | 676kb | OK | 10 |
7 | 4ms | 784kb | OK | 10 |
8 | 8ms | 900kb | OK | 10 |
9 | 12ms | 892kb | OK | 10 |
10 | 8ms | 948kb | OK | 10 |
Punctaj total | 100 |