Borderou de evaluare (job #1912714)

Utilizator iulian_f2kGuraliuc Iulian iulian_f2k Data 8 martie 2017 10:18:57
Problema Graf Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘bool determinePath(short int)’: user.cpp:24:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[node].size(); i++) ^ user.cpp: In function ‘void DFS(short int, short int)’: user.cpp:35:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < G[node].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:58:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < path.size(); i++) { ^ user.cpp:70:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < ans.size(); i++) ^ user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("graf.in", "rt", stdin); ^ user.cpp:41:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("graf.out", "wt", stdout); ^ user.cpp:42:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd%hd%hd", &N, &M, &A, &B); ^ user.cpp:48:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd", &u, &v); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbOK10
20ms436kbIncorect0
30ms440kbIncorect0
40ms440kbIncorect0
50ms440kbOK10
6Depăşit900kbTime limit exceeded.0
7Depăşit624kbTime limit exceeded.0
8Depăşit760kbTime limit exceeded.0
9Depăşit840kbTime limit exceeded.0
10Depăşit868kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?