Pagini recente » Borderou de evaluare (job #1400440) | Borderou de evaluare (job #2002487) | Borderou de evaluare (job #1326693) | Borderou de evaluare (job #1639672) | Borderou de evaluare (job #2748438)
Borderou de evaluare (job #2748438)
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: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 | 52ms | 24117kb | OK | 10 |
2 | 53ms | 24248kb | OK | 10 |
3 | 128ms | 26869kb | OK | 10 |
4 | 758ms | 45744kb | OK | 10 |
5 | 1471ms | 68288kb | OK | 10 |
6 | 1503ms | 75227kb | Time limit exceeded | 0 |
7 | 1500ms | 69206kb | Time limit exceeded | 0 |
8 | 1502ms | 68804kb | Time limit exceeded | 0 |
9 | 1500ms | 76021kb | Time limit exceeded | 0 |
10 | 1503ms | 78118kb | Time limit exceeded | 0 |
Punctaj total | 50 |