Borderou de evaluare (job #1337236)

Utilizator bobbychivescuChivescu Bogdan-Andrei bobbychivescu Data 8 februarie 2015 19:28:50
Problema Cezar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:14:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<g[i].size(); ++j)if(!viz[g[i][j]])dfs(g[i][j], d+1); ^ user.cpp: In function ‘int dfsx(int)’: user.cpp:20:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0; j<g[i].size(); ++j)if(!viz[g[i][j]])s[i]+=dfsx(g[i][j]); ^ user.cpp: In function ‘int main()’: user.cpp:28:25: warning: spurious trailing ‘%’ in format [-Wformat=] scanf("%d%d%", &n,&k); ^ user.cpp:56:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (cc=0; cc<sol.size(); ++cc) ^ user.cpp:57:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0; i<g[sol[cc]].size(); ++i) ^ user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cezar.in", "r", stdin); ^ user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cezar.out", "w", stdout); ^ user.cpp:28:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%", &n,&k); ^ user.cpp:33:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &j, &l); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms388kbOK5
20ms384kbOK5
30ms380kbOK5
40ms384kbOK5
50ms384kbOK5
60ms388kbOK5
78ms392kbOK5
828ms396kbOK5
924ms396kbOK5
1024ms392kbOK5
1196ms396kbOK5
12Depăşit392kbTime limit exceeded.0
13Depăşit428kbTime limit exceeded.0
14Depăşit432kbTime limit exceeded.0
15Depăşit560kbTime limit exceeded.0
16Depăşit428kbTime limit exceeded.0
17Depăşit452kbTime limit exceeded.0
18Depăşit476kbTime limit exceeded.0
19Depăşit544kbTime limit exceeded.0
20Depăşit588kbTime limit exceeded.0
Punctaj total55

Ceva nu functioneaza?