Pagini recente » Cod sursa (job #1180901) | Borderou de evaluare (job #1504955) | Borderou de evaluare (job #3263929) | Borderou de evaluare (job #2202568) | Borderou de evaluare (job #1395998)
Borderou de evaluare (job #1395998)
Raport evaluator
Compilare:
user.cpp: In function ‘void DFS(int)’:
user.cpp:19:36: 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:33:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.in","r",stdin);
^
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radare.out","w",stdout);
^
user.cpp:35:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&p);
^
user.cpp:38:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 372kb | OK | 10 |
| 2 | 0ms | 388kb | OK | 10 |
| 3 | 0ms | 400kb | OK | 10 |
| 4 | 0ms | 1208kb | OK | 10 |
| 5 | 4ms | 1708kb | OK | 10 |
| 6 | 4ms | 1740kb | OK | 10 |
| 7 | 92ms | 21912kb | OK | 10 |
| 8 | 180ms | 34588kb | OK | 10 |
| 9 | 68ms | 13364kb | OK | 10 |
| 10 | 84ms | 18360kb | OK | 10 |
| Punctaj total | 100 |