Pagini recente » Borderou de evaluare (job #1353798) | Borderou de evaluare (job #470873) | Borderou de evaluare (job #1476698) | Borderou de evaluare (job #2635284) | Borderou de evaluare (job #2748432)
Borderou de evaluare (job #2748432)
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:32:27: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
scanf("%i %i",&n,&tots);
^
main.cpp:36:31: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
scanf("%i %i",&a,&v[i]);
^
main.cpp:40:20: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%i",ans);
^
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:32:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&n,&tots);
^
main.cpp:36:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&a,&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 49ms | 24117kb | Incorect | 0 |
2 | 52ms | 24248kb | Incorect | 0 |
3 | 113ms | 26869kb | Incorect | 0 |
4 | 550ms | 46342kb | Incorect | 0 |
5 | 1062ms | 68931kb | Incorect | 0 |
6 | 1490ms | 80232kb | Incorect | 0 |
7 | 1501ms | 79024kb | Time limit exceeded | 0 |
8 | 1502ms | 80728kb | Time limit exceeded | 0 |
9 | 1501ms | 81973kb | Time limit exceeded | 0 |
10 | 1500ms | 81956kb | Time limit exceeded | 0 |
Punctaj total | 0 |