Pagini recente » Borderou de evaluare (job #2927296) | Borderou de evaluare (job #1028263) | Borderou de evaluare (job #2541191) | Borderou de evaluare (job #2844844) | Borderou de evaluare (job #2129105)
Borderou de evaluare (job #2129105)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:15:18: 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:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in","r",stdin);
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out","w",stdout);
^
user.cpp:35:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:36:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&val[i]);
^
user.cpp:39: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 | 0ms | 856kb | OK! | 10 |
| 2 | 0ms | 816kb | OK! | 10 |
| 3 | 0ms | 816kb | OK! | 10 |
| 4 | 0ms | 792kb | OK! | 10 |
| 5 | 4ms | 872kb | OK! | 10 |
| 6 | 20ms | 796kb | OK! | 10 |
| 7 | 56ms | 876kb | OK! | 10 |
| 8 | 164ms | 756kb | OK! | 10 |
| 9 | 184ms | 812kb | OK! | 10 |
| 10 | 172ms | 800kb | OK! | 10 |
| Punctaj total | 100 |