Borderou de evaluare (job #1491405)

Utilizator tudormaximTudor Maxim tudormaxim Data 25 septembrie 2015 11:21:32
Problema Autobuze Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:11:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<g[nod].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:19:12: warning: unused variable ‘maxx’ [-Wunused-variable] int i, maxx=0, j, sol=0; ^ user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze.in", "r", stdin); ^ user.cpp:18:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze.out", "w", stdout); ^ user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1016kbOK10
20ms1016kbOK10
38ms1032kbOK10
488ms1064kbOK10
5356ms1404kbOK10
6Depăşit1696kbTime limit exceeded.0
7Depăşit1960kbTime limit exceeded.0
8Depăşit2664kbTime limit exceeded.0
9Depăşit2428kbTime limit exceeded.0
10Depăşit1892kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?