Pagini recente » Borderou de evaluare (job #2479916) | Borderou de evaluare (job #3113444) | Borderou de evaluare (job #3357639) | Borderou de evaluare (job #1394333) | Borderou de evaluare (job #2060668)
Borderou de evaluare (job #2060668)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:29:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in","r",stdin);
^
user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out","w",stdout);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:42:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tata[i]);
^
user.cpp:47:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp:53: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 | 4ms | 3848kb | OK | 10 |
| 2 | 4ms | 3840kb | OK | 10 |
| 3 | 12ms | 3848kb | OK | 10 |
| 4 | 12ms | 3836kb | OK | 10 |
| 5 | 56ms | 4768kb | OK | 10 |
| 6 | 264ms | 8344kb | OK | 10 |
| 7 | 404ms | 11140kb | OK | 10 |
| 8 | 728ms | 14984kb | OK | 10 |
| 9 | 784ms | 17732kb | OK | 10 |
| 10 | Depăşit | 18420kb | Time limit exceeded. | 0 |
| Punctaj total | 90 |