Pagini recente » Borderou de evaluare (job #2855065) | Borderou de evaluare (job #495948) | Borderou de evaluare (job #2847299) | Borderou de evaluare (job #2948719) | Borderou de evaluare (job #2748437)
Borderou de evaluare (job #2748437)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:18:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<adj[nod].size();i++)
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:30:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.in","r",stdin);
^
main.cpp:31:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.out","w",stdout);
^
main.cpp:34:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %lli",&n,&tots);
^
main.cpp:38:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %lli",&a,&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 61ms | 24117kb | OK | 10 |
| 2 | 53ms | 24248kb | OK | 10 |
| 3 | 107ms | 26214kb | OK | 10 |
| 4 | 511ms | 40837kb | OK | 10 |
| 5 | 902ms | 58183kb | OK | 10 |
| 6 | 1361ms | 75091kb | OK | 10 |
| 7 | 1503ms | 82329kb | Time limit exceeded | 0 |
| 8 | 1503ms | 84557kb | Time limit exceeded | 0 |
| 9 | 1503ms | 85737kb | Time limit exceeded | 0 |
| 10 | 1500ms | 83443kb | Time limit exceeded | 0 |
| Punctaj total | 60 |