Borderou de evaluare (job #2227054)

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

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
10ms3468kbthe total sum is too large :(0
24ms9656kbthe total sum is too large :(0
312ms11932kbok5
4108ms16276kbthe total sum is too large :(0
5172ms16624kbthe total sum is too large :(0
660ms14700kbthe total sum is too large :(0
724ms12480kbthe total sum is too large :(0
840ms13844kbthe total sum is too large :(0
9108ms16640kbthe total sum is too large :(0
10108ms16836kbthe total sum is too large :(0
11116ms15036kbok5
1260ms25596kbthe total sum is too large :(0
134ms11700kbthe total sum is too large :(0
148ms12360kbthe total sum is too large :(0
1532ms18944kbok5
164ms9644kbthe total sum is too large :(0
1736ms16372kbthe total sum is too large :(0
1832ms14696kbthe total sum is too large :(0
190ms3464kbthe total sum is too large :(0
204ms5544kbthe total sum is too large :(0
Punctaj total15

Ceva nu functioneaza?