Borderou de evaluare (job #1497251)

Utilizator mlupseLupse-Turpan Mircea mlupse Data 6 octombrie 2015 15:49:59
Problema Cabane Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void compute_graph()’: user.cpp:67:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (p = 0; p <= ST[i].size(); p++) ^ user.cpp:68:73: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((p == 0 || ST[i][p-1] != 0) && (p == ST[i].size() || ST[i][p] != 0)) ^ user.cpp:74:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (; j < ST[i].size(); j++) ^ user.cpp:76:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < temp.size(); j++) ^ user.cpp:79:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (it = temp.begin()+1, j = 1; j < temp.size(); j++, it++) ^ user.cpp: In function ‘int main()’: user.cpp:121:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ST[i].size() == K) ^ user.cpp:129:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < A[i].size(); j++) ^ user.cpp:102:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cabane.in", "r", stdin); ^ user.cpp:103:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cabane.out", "w", stdout); ^ user.cpp:104:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms2448kbOK10
24ms2444kbOK10
34ms2460kbOK10
48ms2548kbOK10
564ms3644kbOK10
6868ms18856kbOK10
7912ms18860kbOK10
8988ms18860kbOK10
91160ms18856kbOK10
101316ms18852kbOK10
Punctaj total100

Ceva nu functioneaza?