Pagini recente » Borderou de evaluare (job #122018) | Borderou de evaluare (job #2740961) | Borderou de evaluare (job #256472) | Borderou de evaluare (job #218707) | Borderou de evaluare (job #1552418)
Borderou de evaluare (job #1552418)
Raport evaluator
Compilare:
user.cpp: In function ‘void df(long long int*, int)’:
user.cpp:36:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[x].size(); i++) {
^
user.cpp: In function ‘void dfsol(int)’:
user.cpp:63:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < GM[x].size(); i++) {
^
user.cpp: In function ‘bool drum()’:
user.cpp:87:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < GM[x].size(); i++) {
^
user.cpp:102:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < GM[D].size(); k++) {
^
user.cpp: In function ‘int main()’:
user.cpp:146:45: warning: overflow in implicit constant conversion [-Woverflow]
memset(DS, 0x3f3f3f3f3f3f3f3f, sizeof DS);
^
user.cpp:147:45: warning: overflow in implicit constant conversion [-Woverflow]
memset(DD, 0x3f3f3f3f3f3f3f3f, sizeof DD);
^
user.cpp:158:13: warning: unused variable ‘c’ [-Wunused-variable]
c = E[i].second;
^
user.cpp:191:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ans.size(); i++) {
^
user.cpp:134:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.in", "r", stdin);
^
user.cpp:135:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asfalt.out", "w", stdout);
^
user.cpp:137:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &N, &M, &S, &D);
^
user.cpp:139:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 332kb | Corect! | 10 |
2 | 8ms | 2480kb | Corect! | 10 |
3 | 4ms | 1088kb | Numar de muchii gresit! | 0 |
4 | 4ms | 2228kb | Numar de muchii gresit! | 0 |
5 | 4ms | 1736kb | Corect! | 10 |
6 | 4ms | 1600kb | Numar de muchii gresit! | 0 |
7 | 8ms | 2348kb | Numar de muchii gresit! | 0 |
8 | 8ms | 1964kb | Numar de muchii gresit! | 0 |
9 | 8ms | 2172kb | Corect! | 10 |
10 | 0ms | 340kb | Corect! | 10 |
Punctaj total | 50 |