Pagini recente » Borderou de evaluare (job #431590) | Borderou de evaluare (job #220235) | Borderou de evaluare (job #1545541) | Borderou de evaluare (job #1546110) | Borderou de evaluare (job #2748434)
Borderou de evaluare (job #2748434)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:17: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:29: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:30: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:33: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:37: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 | 51ms | 24117kb | OK | 10 |
2 | 53ms | 24248kb | OK | 10 |
3 | 109ms | 26869kb | OK | 10 |
4 | 589ms | 46342kb | OK | 10 |
5 | 1101ms | 68931kb | OK | 10 |
6 | 1458ms | 79314kb | OK | 10 |
7 | 1503ms | 86130kb | Time limit exceeded | 0 |
8 | 1500ms | 86654kb | Time limit exceeded | 0 |
9 | 1503ms | 85250kb | Time limit exceeded | 0 |
10 | 1503ms | 81907kb | Time limit exceeded | 0 |
Punctaj total | 60 |