Borderou de evaluare (job #2227053)

Utilizator MiricaMateiMirica Matei MiricaMatei Data 31 iulie 2018 04:30:34
Problema Ro Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void solve(int, int, int)’: user.cpp:73:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ans[nod].size(); ++i) { ~~^~~~~~~~~~~~~~~~~ user.cpp:90:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < ans[nod].size(); ++j) ~~^~~~~~~~~~~~~~~~~ user.cpp: In function ‘void getSol(int, int, int, int)’: user.cpp:118:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ans[nod].size(); ++i) ~~^~~~~~~~~~~~~~~~~ user.cpp:120:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ans[nod].size(); ++i) ~~^~~~~~~~~~~~~~~~~ user.cpp: In function ‘int main()’: user.cpp:163:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (auto it = 0; it < ans.size(); ++it) { ~~~^~~~~~~~~~~~ user.cpp:143:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ro.in", "r", stdin); ^ user.cpp:144:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ro.out", "w", stdout); ^ user.cpp:148: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:150:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &cost[i]); ^ user.cpp:154:26: 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
10ms3464kbthe total sum is too large :(0
24ms9656kbthe selected cities have a different total sum than the one you specified0
312ms11928kbthe selected cities have a different total sum than the one you specified0
4108ms16276kbthe selected cities have a different total sum than the one you specified0
5172ms16624kbthe selected cities have a different total sum than the one you specified0
660ms14700kbthe total sum is too large :(0
724ms12480kbthe total sum is too large :(0
840ms13840kbthe total sum is too large :(0
9112ms16636kbthe total sum is too large :(0
10112ms16836kbthe total sum is too large :(0
11120ms15040kbok5
1260ms25600kbthe total sum is too large :(0
134ms11704kbthe total sum is too large :(0
148ms12360kbthe total sum is too large :(0
1532ms18948kbok5
164ms9648kbthe total sum is too large :(0
1740ms16372kbthe total sum is too large :(0
1832ms14700kbthe selected cities have a different total sum than the one you specified0
190ms3464kbthe total sum is too large :(0
204ms5536kbthe total sum is too large :(0
Punctaj total10

Ceva nu functioneaza?