Borderou de evaluare (job #1266807)

Utilizator unicornologyMinh Nguyen unicornology Data 19 noiembrie 2014 04:50:11
Problema Confuzie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:25:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(!adj[u].empty()) ff(i,0,adj[u].size()-1) ^ user.cpp:3:34: note: in definition of macro ‘ff’ #define ff(i,a,b) for(int i=a;i<=b;i++) ^ user.cpp: In function ‘void process()’: user.cpp:56:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&q); ^ user.cpp: In function ‘void init()’: user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^ user.cpp: In function ‘void process()’: user.cpp:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&q); ^ user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:66:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^ user.cpp: In function ‘int main()’: user.cpp:79:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("confuzie.in","r",stdin); ^ user.cpp:80:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("confuzie.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
216ms664kbOK10
356ms772kbOK10
456ms772kbOK10
5Depăşit4488kbTime limit exceeded.0
6Depăşit4640kbTime limit exceeded.0
7Depăşit6136kbTime limit exceeded.0
8Depăşit8140kbTime limit exceeded.0
9Depăşit8880kbTime limit exceeded.0
10Depăşit10088kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?