Borderou de evaluare (job #1491892)

Utilizator smaraldaSmaranda Dinu smaralda Data 26 septembrie 2015 13:06:03
Problema Divizori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int getCode(int)’: user.cpp:119:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < sons.size(); ++ i) { ^ user.cpp: In function ‘bool sameCenters()’: user.cpp:130:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < centers.size(); ++ i) { ^ user.cpp:133:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(i < centers.size() - 1 && nr[centers[i]] == nr[centers[i + 1]]) { ^ user.cpp:143:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < codes.size() - 1; ++ i) ^ user.cpp: In function ‘int main()’: user.cpp:157:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("divizori2.in", "r", stdin); ^ user.cpp:158:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("divizori2.out", "w", stdout); ^ user.cpp:161:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:163:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2060kbIncorect00
228ms2092kbIncorect00
364ms2144kbIncorect0
436ms2120kbIncorect0
584ms2168kbIncorect0
6136ms2276kbIncorect00
7Depăşit4104kbTime limit exceeded.0
8Depăşit4048kbTime limit exceeded.0
9Depăşit5152kbTime limit exceeded.00
10Depăşit6208kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?